public abstract class PinBase_FBcl extends java.lang.Object implements PinDtypeIfc_FBcl
Modifier and Type | Class and Description |
---|---|
static class |
PinBase_FBcl.EPinKind |
Modifier and Type | Field and Description |
---|---|
int |
ixPin
Index of the pin in the block
#fb from 0 if this block is a module. |
PinBase_FBcl.EPinKind |
kind |
protected long |
mAssociatedEvData
Associated event to data pin and vice versa.
|
java.lang.String |
namePin |
Constructor and Description |
---|
PinBase_FBcl(PinBase_FBcl.EPinKind kind,
java.lang.String namePin,
int ixPin) |
Modifier and Type | Method and Description |
---|---|
void |
addAssociatedEvData(PinBase_FBcl associatedPin)
Associate vice versa a data or event input or output (pin) of the event or data input or output.
|
PinDtype_FBcl |
dtype()
Default implementation.
|
long |
maskAssociatedEvData() |
java.lang.String |
toString() |
public final int ixPin
#fb
from 0 if this block is a module.
It is the ix of the FBlock_JgenMdl#dout
and FBlock_JgenMdl#din
of the associated Module_FBlock_JgenMdl
or Callmodule_FBlock_JgenMdl
, what is the number of the port in the Module.
It is not the ix of the #fb
inConnections and outConnections, if this is not a Module block.
This attribute is used to associate the connection of a Submodule or Libmodule to the connection of the Operation_Block.public final PinBase_FBcl.EPinKind kind
public java.lang.String namePin
protected long mAssociatedEvData
FBlock_Type_FBcl.dinPin
etc.
FBlock_Type_FBcl.dinPin
refers associated FBlock_Type_FBcl.evinPin
FBlock_Type_FBcl.evinPin
refers associated FBlock_Type_FBcl.dinPin
FBlock_Type_FBcl.doutPin
refers associated FBlock_Type_FBcl.evoutPin
FBlock_Type_FBcl.evoutPin
refers associated FBlock_Type_FBcl.doutPin
public PinBase_FBcl(PinBase_FBcl.EPinKind kind, java.lang.String namePin, int ixPin)
public PinDtype_FBcl dtype()
Dinout_FBcl
and DinoutType_FBcl
have a implenentation which returns the used instance.dtype
in interface PinDtypeIfc_FBcl
public void addAssociatedEvData(PinBase_FBcl associatedPin)
any
- pin proper to this. It is not type tested by compilation.
The evaluation of this add operation is given in the type-specified classes.
That routines uses an org.vishia.util.IteratorArrayMask
to build an java.lang.Iterablepublic long maskAssociatedEvData()
public java.lang.String toString()
toString
in class java.lang.Object