public class Evin_FBcl extends Evinout_FBcl
Pin_FBcl.XXXXXEKind
Modifier and Type | Field and Description |
---|---|
short |
ixEvCluster
The index of the event cluster of the module which is associated to this event pin as end pin.
|
(package private) int |
ixInEvchain
The position of this evin in the evchain.
|
static Evin_FBcl[] |
nullArray |
private long[][] |
successCondBits
Set with the same info as in condBits if on building Evtree the conditions comes in.
|
condBits, idEvent, idEventCt, mEvinClusterEnd, mEvoutClusterStart, nrEventInChain
connectDst, connectSrc, fb, name, pint, version, xy
Constructor and Description |
---|
Evin_FBcl(PinType_FBcl pint,
FBlock_FBcl fb,
XY_FBcl xy)
Used for FBlock events which have always a type infomration.
|
Evin_FBcl(PinType_FBcl pint,
java.lang.String name,
FBlock_FBcl fb,
XY_FBcl xy) |
Modifier and Type | Method and Description |
---|---|
org.vishia.util.IterableIterator<Din_FBcl> |
iterAssocDin()
Gets the associated Din to an Evin using the type information and
IteratorAssocPins_FBcl . |
org.vishia.util.IterableIterator<Din_FBcl> |
iterAssocDin(boolean bCreate)
Gets the associated Din to an Evin using the type information and
IteratorAssocPins_FBcl . |
org.vishia.util.IterableIterator<PinRef_FBcl> |
iterAssocRef()
Gets the associated References (association and aggregation) to an Evin using the type information and
IteratorAssocPins_FBcl . |
org.vishia.util.IterableIterator<PinRef_FBcl> |
iterAssocRef(boolean bCreate)
Gets the associated References (association and aggregation) to an Evin using the type information and
IteratorAssocPins_FBcl . |
org.vishia.util.IterableIterator<Evout_FBcl> |
iterCorrespondEvout()
Gets the corresponding Evout to an Evin using the type information and
IteratorAssocPins_FBcl . |
org.vishia.util.IterableIterator<Evout_FBcl> |
iterCorrespondEvout(boolean bCreate)
Gets the corresponding Evout to an Evin using the type information and
IteratorAssocPins_FBcl . |
java.lang.Iterable<EccAction_FBcl> |
operationsType()
Returns the appropriate Operation-List of the type to this pin.
|
EvinType_FBcl |
pinType()
Gets the evin from the Type of the given FBlock.
|
boolean |
setSuccessCondition(long[][] condNew)
Returns true if all necessary condition on
successCondBits are satisfied. |
java.lang.String |
varName()
Returns a variable name proper to the Dout and FBlock.
|
java.lang.Iterable<Evout_FBcl> |
XXXconnectSrc() |
getConditionBits, set_orNewConditionBits, toString
addEvchain, addEvchainDepending, connDst, connectFrom, connectFrom, connSrc, containsEvchain, containsOtherEvchain, dinType, doutType, evChainHex, evinType, evoutType, fbtypeName, getFirstConnDst, getFirstConnSrc, getMaskEvinMdlChainDriven, getMaskEvoutMdlBackChainDriven, getOneConnSrc, getOneConnSrc, isEventBackChainDriven, isEventBackChainDriven, isEventChainDriven, isEventChainDriven, isEventChainDriven, isEventChainDriven, isKind, isNotKind, isUpdatePin, iterConnDst, iterConnSrc, iterEvchainDep, iterEvchainShow, nameFBpin, nameFBpin, nrofConnDst, nrofConnSrc, removeConnectDst, removeConnectSrc, removeConnSrcAll, removePinSimpleInConnDst, setEventBackChainDriven, setEventChainDriven, spec, spec, throwError, toString, XXXremoveConnectSrc, XXXremoveConnSrc
public static Evin_FBcl[] nullArray
public short ixEvCluster
EventCluster_FBrd.evinEnd
is set with this as back aggregation.
-1 means, no cluster associated.int ixInEvchain
private long[][] successCondBits
Evinout_FBcl.condBits
.
Only then the output on a FBlock_FBcl.Blocktype.VarAfterExpr
is used to continue the event tree.
Inside inline conditions this value is forwarded.
Only the variable after expression is an OR-join for the condition branches,
because then this variable is guaranteed set in all branches (for code generation).public Evin_FBcl(PinType_FBcl pint, FBlock_FBcl fb, XY_FBcl xy)
pint
- fb
- public Evin_FBcl(PinType_FBcl pint, java.lang.String name, FBlock_FBcl fb, XY_FBcl xy)
public java.lang.Iterable<EccAction_FBcl> operationsType()
public EvinType_FBcl pinType()
public java.lang.String varName()
public boolean setSuccessCondition(long[][] condNew)
successCondBits
are satisfied.
Sets a gotten condNew in the EvoutTreePrc_FBcl
to store it in successCondBits
.condNew
- can have more OR entries or only one.public java.lang.Iterable<Evout_FBcl> XXXconnectSrc()
public org.vishia.util.IterableIterator<Din_FBcl> iterAssocDin(boolean bCreate)
IteratorAssocPins_FBcl
.
The associated type pins are determined with PinType_FBcl.mAssocEvData
.
From that bits the FBtype_FBcl.dinPin
are nominated.
That helps to select the FBlock_FBcl.din
for iteration.
Write_FBlock_FBwr.iterDin(Evin_FBcl, boolean)
for non completed FBlock_FBcl
public org.vishia.util.IterableIterator<Din_FBcl> iterAssocDin()
IteratorAssocPins_FBcl
.
The associated type pins are determined with PinType_FBcl.mAssocEvData
.
From that bits the FBtype_FBcl.dinPin
are nominated.
That helps to select the FBlock_FBcl.din
for iteration.
Write_FBlock_FBwr.iterDin(Evin_FBcl, boolean)
for non completed FBlock_FBcl
public org.vishia.util.IterableIterator<PinRef_FBcl> iterAssocRef(boolean bCreate)
IteratorAssocPins_FBcl
.
The associated type pins are determined with EvinoutType_FBcl.mAssocRefPort
.
From that bits the FBtype_FBcl.refPin
are nominated.
That helps to select the FBlock_FBcl.reference
for iteration.
Write_FBlock_FBwr.iterRef(Evin_FBcl, boolean)
for non completed FBlock_FBcl
public org.vishia.util.IterableIterator<PinRef_FBcl> iterAssocRef()
IteratorAssocPins_FBcl
.
The associated type pins are determined with EvinoutType_FBcl.mAssocRefPort
.
From that bits the FBtype_FBcl.refPin
are nominated.
That helps to select the FBlock_FBcl.reference
for iteration.
Write_FBlock_FBwr.iterRef(Evin_FBcl, boolean)
for non completed FBlock_FBcl
public org.vishia.util.IterableIterator<Evout_FBcl> iterCorrespondEvout(boolean bCreate)
IteratorAssocPins_FBcl
.
It is defined if the FBlock is a Simple one (IEC61499) or a Standard FBlock with simple regular StateMachine (ECC)
The associated type pins are determined with PinType_FBcl.mAssocInOut
.
From that bits the FBtype_FBcl.evoutPin
are nominated.
That helps to select the FBlock_FBcl.evout
for iteration.
Write_FBlock_FBwr.iterEvout(Evin_FBcl, boolean)
for non completed FBlock_FBcl
public org.vishia.util.IterableIterator<Evout_FBcl> iterCorrespondEvout()
IteratorAssocPins_FBcl
.
It is defined if the FBlock is a Simple one (IEC61499) or a Standard FBlock with simple regular StateMachine (ECC)
The associated type pins are determined with PinType_FBcl.mAssocInOut
.
From that bits the FBtype_FBcl.evoutPin
are nominated.
That helps to select the FBlock_FBcl.evout
for iteration.
Write_FBlock_FBwr.iterEvout(Evin_FBcl, boolean)
for non completed FBlock_FBcl