public class FBlock_Type_FBcl
extends java.lang.Object
FBlock_FBcl#dinPin
has an element with value null, it means that any number of inputs
with the type of the last designated input can be following in the current FBlock_FBcl.Modifier and Type | Class and Description |
---|---|
static class |
FBlock_Type_FBcl.TranslateData |
static class |
FBlock_Type_FBcl.WriteFBT
This inner class is only used to inherit to
|
Modifier and Type | Field and Description |
---|---|
FBlock_FBcl.Blocktype |
_kindFBlockType
TODO the element
FBlock_FBcl._kindFBlock is only necessary in the Type FBlock,
this is here. |
DinType_FBcl[] |
dinPin
Array of all connections from other
FBlock_FBcl in the same module for inputs of this. |
DoutType_FBcl[] |
doutPin
Array of all data pins, which are outputs.
|
private DataTypeRef_FBcl[] |
dtypes
Array of all data types used in the interface of the module.
|
(package private) EvinType_FBcl[] |
evinOper
Array of all event pins, which are the start point of an inner
Evchain_FBcl ,
depending or from a state machine. |
EvinType_FBcl[] |
evinPin
Array of all event pins, which are inputs.
|
EvoutType_FBcl[] |
evoutPin
Array of all event pins, which are outputs.
|
(package private) java.util.Map<java.lang.String,DinoutType_FBcl> |
idxConn
Contains all names.
|
(package private) java.util.Map<java.lang.String,EvinoutType_FBcl> |
idxEvConn
Contains all names for event connection.
|
private boolean |
isObject
True than any
FBlock_FBcl of this type should be present by an instance in code generation
because it has inner data. |
(package private) java.util.List<java.lang.String> |
listInConn
Contains all names for the ConnIn in order of pins.
|
private Module_FBcl |
mdl
Set for read modules which should be translated. null for standard FBlocks.
|
java.lang.String |
name
Name of the instance of the block.
|
private int |
nSliced
0 means, one instance. 1 is one instance too but maybe sliced.
|
FBlock_Type_FBcl.TranslateData |
trl
Composition, extra class for data which are need for translation and given with the FBlock interface.
|
Constructor and Description |
---|
FBlock_Type_FBcl(FBlock_FBcl.Blocktype kind,
java.lang.String typename) |
Modifier and Type | Method and Description |
---|---|
DinType_FBcl[] |
dinForeach()
Returns never null, able to use in a for-loop.
|
DinType_FBcl[] |
dinPin()
Returns the originally value of
dinPin as getter access. |
DinType_FBcl |
dinPin(int ix) |
DoutType_FBcl[] |
doutForeach()
Returns never null, able to use in a for-loop.
|
DoutType_FBcl[] |
doutPin()
Returns the originally value of
doutPin as getter access. |
DoutType_FBcl |
doutPin(int ix) |
DataTypeRef_FBcl[] |
dtypes() |
EvinType_FBcl[] |
evinPin() |
EvinType_FBcl |
evinPin(int ix) |
EvoutType_FBcl[] |
evoutPin() |
EvoutType_FBcl |
evoutPin(int ix) |
DinoutType_FBcl |
getConnByName(java.lang.String name) |
DinoutType_FBcl |
getConnectionAdequate(DinoutType_FBcl conSecond)
Returns the Connection_Mdl of this with given conSecond of a equate FunctionBlock (the template etc.).
|
private static DinoutType_FBcl |
getConnectionAdequate(DinoutType_FBcl[] con,
int ix) |
EvinoutType_FBcl |
getEventPinByName(java.lang.String name) |
EvinType_FBcl |
getEvInByName(java.lang.String name) |
EvoutType_FBcl |
getEvOutByName(java.lang.String name) |
Module_FBcl |
getModule() |
boolean |
isObject()
Return true if any
FBlock_FBcl of this type should be present by an instance in code generation
because it has inner data. |
FBlock_FBcl.Blocktype |
kind() |
java.lang.String |
name() |
int |
nSlices()
0 means, one instance. 1 is one instance too but maybe sliced
|
void |
sendTranslateData(FBlock_Type_FBcl.TranslateData dst)
Creates a template block from a given String designation
|
java.lang.String |
toString()
Helper class to build the correct Name for additional connections.
|
public java.lang.String name
public EvinType_FBcl[] evinPin
FBlock_FBcl.evin
are wired in the module
(in the Composite FBlock).EvinType_FBcl[] evinOper
Evchain_FBcl
,
depending or from a state machine. This evin-like instances are only existing for organization.
The event operations will be triggered following its Operation_FBcl.mPrevDep
operations
or from statemachine actions.public DinType_FBcl[] dinPin
FBlock_FBcl
in the same module for inputs of this.public EvoutType_FBcl[] evoutPin
FBlock_FBcl.evout
are wired in the module
(in the Composite FBlock).public DoutType_FBcl[] doutPin
FBlock_FBcl.dout
are wired in the module
(in the Composite FBlock).private DataTypeRef_FBcl[] dtypes
DinoutType_FBcl.pinDtype
private Module_FBcl mdl
private boolean isObject
FBlock_FBcl
of this type should be present by an instance in code generation
because it has inner data.public final FBlock_FBcl.Blocktype _kindFBlockType
FBlock_FBcl._kindFBlock
is only necessary in the Type FBlock,
this is here. Remove FBlock_FBcl._kindFBlock
in future. The info here is duplicated.private int nSliced
public final FBlock_Type_FBcl.TranslateData trl
final java.util.Map<java.lang.String,DinoutType_FBcl> idxConn
final java.util.List<java.lang.String> listInConn
final java.util.Map<java.lang.String,EvinoutType_FBcl> idxEvConn
public FBlock_Type_FBcl(FBlock_FBcl.Blocktype kind, java.lang.String typename)
public boolean isObject()
FBlock_FBcl
of this type should be present by an instance in code generation
because it has inner data.public EvinType_FBcl[] evinPin()
public EvoutType_FBcl[] evoutPin()
public EvinType_FBcl evinPin(int ix)
public EvoutType_FBcl evoutPin(int ix)
public DinType_FBcl[] dinPin()
dinPin
as getter access.public DoutType_FBcl[] doutPin()
doutPin
as getter access.public DinType_FBcl dinPin(int ix)
public DoutType_FBcl doutPin(int ix)
public java.lang.String name()
public FBlock_FBcl.Blocktype kind()
public DinType_FBcl[] dinForeach()
dinPin
is null, the DinType_FBcl.nullist
is returned, an array with length 0.public DoutType_FBcl[] doutForeach()
doutPin
is null, the DoutType_FBcl.nullist
is returned, an array with length 0.public DataTypeRef_FBcl[] dtypes()
public void sendTranslateData(FBlock_Type_FBcl.TranslateData dst)
name
- sImport
- sOperation
- sInOutDesign
- description of input and output event and data name and types:public EvinType_FBcl getEvInByName(java.lang.String name)
public EvoutType_FBcl getEvOutByName(java.lang.String name)
public DinoutType_FBcl getConnByName(java.lang.String name)
public EvinoutType_FBcl getEventPinByName(java.lang.String name)
public DinoutType_FBcl getConnectionAdequate(DinoutType_FBcl conSecond)
conSecond
- Connection of a equate FBlockpublic int nSlices()
private static DinoutType_FBcl getConnectionAdequate(DinoutType_FBcl[] con, int ix)
public Module_FBcl getModule()
public java.lang.String toString()
toString
in class java.lang.Object