public class Write_FBlock_FBwr extends FBlock_FBcl.WriteFB
Modifier and Type | Field and Description |
---|---|
private java.util.List<Din_FBcl> |
connInList
List to gather some inputs before creating
FBlock_FBcl.din . |
private java.util.List<Dout_FBcl> |
connOutList
List to gather some outputs before creating
FBlock_FBcl.dout . |
protected DtypeMapping_FBwr |
dtypeMapping |
private java.util.List<Evin_FBcl> |
evInList
List to gather some event inputs before creating
FBlock_FBcl.evin . |
private java.util.List<EvinType_FBcl> |
evinOperList
List to gather some event inputs before creating
FBlock_FBcl.evin . |
private java.util.List<Evout_FBcl> |
evOutList
List to gather some event outputs before creating
FBlock_FBcl.evout . |
FBlock_FBcl |
fbOrig
Stores a original FBlock which is the twin of this created FBlock.
|
int |
stateCopy |
private short |
stateRewired
Uses
Pin_FBcl.XXXXXEKind#mask |
fb
Constructor and Description |
---|
Write_FBlock_FBwr(FBlock_FBcl fb) |
Write_FBlock_FBwr(FBlock_Type_FBcl typeFb,
FBlock_FBcl.Blocktype kind,
java.lang.String name,
Module_FBcl parentModule) |
Modifier and Type | Method and Description |
---|---|
Pin_FBcl |
addConnIn(java.lang.String namePin,
DataTypeRef_FBcl dtypeSrc)
Adds an inConnection in order of the Connections to create.
|
Pin_FBcl |
addConnOut(java.lang.String namePin,
DataTypeRef_FBcl dtypeSrc)
Adds an outConnection in order of the Connections to create.
|
Pin_FBcl |
addEventIn(java.lang.String nameEvent)
Adds an event input in order of the event pins to create in the underlying
FBlock_FBcl . |
Pin_FBcl |
addEventOut(java.lang.String namePin)
Adds an event output in order of the event pins to create in the underlying
FBlock_FBcl . |
Pin_FBcl |
getEvin(int ix) |
Pin_FBcl |
getEvinByName(java.lang.String name)
Searches an added event pin.
|
Pin_FBcl |
getEvout(int ix) |
Pin_FBcl |
getPinin(int ix) |
Pin_FBcl |
getPinInByName(java.lang.String name)
Searches an added data pin.
|
Pin_FBcl |
getPinout(int ix) |
Pin_FBcl |
getPinOutByName(java.lang.String name)
Searches an added data pin.
|
boolean |
isRewired(Pin_FBcl.XXXXXEKind evOrData) |
java.lang.Iterable<Din_FBcl> |
iterPinin() |
void |
setDataTypeMapping(DtypeMapping_FBwr dtypemap) |
protected void |
setDataTypeMapping(java.util.HashMap<DataTypeRef_FBcl,DataTypeRef_FBcl> dtypes) |
void |
setRewired(Pin_FBcl.XXXXXEKind evOrData) |
java.lang.String |
toString() |
changeKind, clone_dtypes, createDataTypes, getConnInArray, getConnOutArray, getEvInArray, getEvOutArray, setDataTypes, setSteptime
private java.util.List<Evin_FBcl> evInList
FBlock_FBcl.evin
.
If the lists are not null, the gathering is in progress.private java.util.List<EvinType_FBcl> evinOperList
FBlock_FBcl.evin
.
If the lists are not null, the gathering is in progress.private java.util.List<Evout_FBcl> evOutList
FBlock_FBcl.evout
.
If the lists are not null, the gathering is in progress.private java.util.List<Din_FBcl> connInList
FBlock_FBcl.din
.
If the lists are not null, the gathering is in progress.private java.util.List<Dout_FBcl> connOutList
FBlock_FBcl.dout
.
If the lists are not null, the gathering is in progress.protected DtypeMapping_FBwr dtypeMapping
public int stateCopy
private short stateRewired
Pin_FBcl.XXXXXEKind#mask
public FBlock_FBcl fbOrig
public Write_FBlock_FBwr(FBlock_FBcl fb)
public Write_FBlock_FBwr(FBlock_Type_FBcl typeFb, FBlock_FBcl.Blocktype kind, java.lang.String name, Module_FBcl parentModule)
protected void setDataTypeMapping(java.util.HashMap<DataTypeRef_FBcl,DataTypeRef_FBcl> dtypes)
public void setDataTypeMapping(DtypeMapping_FBwr dtypemap)
public Pin_FBcl addEventIn(java.lang.String nameEvent)
FBlock_FBcl
.nameEvent
- public Pin_FBcl addEventOut(java.lang.String namePin)
FBlock_FBcl
.nameEvent
- public Pin_FBcl addConnIn(java.lang.String namePin, DataTypeRef_FBcl dtypeSrc)
namePin
- dtypeSrc
- from the source datatype system, it will not be referenced.
It should be from the FBlock_Type_FBcl
given on construction
or from any other source given with setDataTypeMapping(HashMap)
.
The adequate type instance will be created or re-used if it exists already for other connections.public Pin_FBcl addConnOut(java.lang.String namePin, DataTypeRef_FBcl dtypeSrc)
namePin
- dtypeSrc
- from the source datatype system, it will not be referenced.
It should be from the FBlock_Type_FBcl
given on construction
or from any other source given with setDataTypeMapping(HashMap)
.
The adequate type instance will be created or re-used if it exists already for other connections.public Pin_FBcl getEvin(int ix)
public Pin_FBcl getEvout(int ix)
public Pin_FBcl getPinin(int ix)
public Pin_FBcl getPinout(int ix)
public java.lang.Iterable<Din_FBcl> iterPinin()
public Pin_FBcl getEvinByName(java.lang.String name)
FBlock_FBcl.getPinInByName(String)
this operation returns pins which are added with addConnIn(String, DataTypeRef_FBcl)
but not yet established in the underlying FBlock_FBcl.din
because #setAllConnections()
is not invoked till now.name
- public Pin_FBcl getPinInByName(java.lang.String name)
FBlock_FBcl.getPinInByName(String)
this operation returns pins which are added with addConnIn(String, DataTypeRef_FBcl)
but not yet established in the underlying FBlock_FBcl.din
because #setAllConnections()
is not invoked till now.name
- public Pin_FBcl getPinOutByName(java.lang.String name)
FBlock_FBcl.getPinOutByName(String)
this operation returns pins which are added with addConnOut(String, DataTypeRef_FBcl)
but not yet established in the underlying FBlock_FBcl.dout
because #setAllConnections()
is not invoked till now.name
- public void setRewired(Pin_FBcl.XXXXXEKind evOrData)
public boolean isRewired(Pin_FBcl.XXXXXEKind evOrData)
public java.lang.String toString()
toString
in class java.lang.Object