public class Evinout_FBcl extends Pin_FBcl implements org.vishia.util.ToStringBuilder
Pin_FBcl.XXXXXEKind
Modifier and Type | Field and Description |
---|---|
protected long[][] |
condBits
One bit determines by its position one condition of the module for this event.
|
int |
idEvent
A created id for the existing event Object.
|
(package private) static int |
idEventCt |
long |
mEvinClusterEnd
Bit mask which Evin_FBcl of the module's output or adequate a state machine FBlock's evin
is driven immediately or indirect.
|
long |
mEvoutClusterStart
Bit mask which whether this pin is connected indirect or direct with which evinMdl (it is an Evout_FBcl)
or one of the
Evout_FBcl of a FBlock_FBcl with a state machine, which is the start of one or some evChain. |
int |
nrEventInChain
Counts the number of this evout in the chain.
|
connectDst, connectSrc, fb, name, pint, version, xy
Constructor and Description |
---|
Evinout_FBcl(PinType_FBcl pint,
FBlock_FBcl fb,
XY_FBcl xy) |
Evinout_FBcl(PinType_FBcl pint,
java.lang.String name,
FBlock_FBcl fb,
XY_FBcl xy) |
Modifier and Type | Method and Description |
---|---|
long[][] |
getConditionBits()
Gets the condition bits
condBits from an module internal event instance. |
long[][] |
set_orNewConditionBits(long[][] addBits,
long[] allBitsArg) |
java.lang.StringBuilder |
toString(java.lang.StringBuilder app,
java.lang.String... cond) |
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, pinType, removeConnectDst, removeConnectSrc, removeConnSrcAll, removePinSimpleInConnDst, setEventBackChainDriven, setEventChainDriven, spec, spec, throwError, toString, XXXremoveConnectSrc, XXXremoveConnSrc
static int idEventCt
public final int idEvent
public transient int nrEventInChain
public transient long mEvinClusterEnd
PinType_FBcl.ixPin
.
Info to build event operations of the module.public transient long mEvoutClusterStart
Evout_FBcl
of a FBlock_FBcl
with a state machine, which is the start of one or some evChain.
The last kind of Evout_FBcl is also a part of indexed EvoutType_FBcl of the module inner interface.
It means the indices are not overlapping with the module pins indices.
But the sum of all this event should not exceed 64 (or 62).
If the modules will get more comprehensive, here either a container of indices should be used,
but then the algorithm for each event gets more comprehensive too.
or an array of some long, with retention of this bit mask approach.
Hint: the last one is already implemented for condBits
with Bitfield
The Evout_FBcl for state machines are yet not implemented, 2024-03protected long[][] condBits
Evout_FBcl
) this element notices, which condition bits are used
for the event chain operation. It is not a condition.
#unconditional
, then this event is unconditionally.
(!cond2 && cond1)
[ [0x9], [0x6] ]
means (!cond2 && cond1 || cond2 && !cond1)
[ [0x4], [0x1] ]
means (cond2 || cond1)
Evout_FBcl
of a state FBlock this element contains
the primary condition of this FBlock, whereby also AND bits can be set
if the 'ExprEv' or State is determined also conditionally (it is a secondary condition).
The second dimension is not used, (condBits.length ==1)
public Evinout_FBcl(PinType_FBcl pint, FBlock_FBcl fb, XY_FBcl xy)
public Evinout_FBcl(PinType_FBcl pint, java.lang.String name, FBlock_FBcl fb, XY_FBcl xy)
public long[][] set_orNewConditionBits(long[][] addBits, long[] allBitsArg)
public long[][] getConditionBits()
condBits
from an module internal event instance.
This operation returns null for the module's evinMdl (Evout_FBcl)
because the modules evinMdl have not really a condition, instead it stores in condBits
the used condition in this event to detect all bits as 'unconditionally'.
To prevent confusion on evinMdl this mits are not returned.