public abstract static class FBlock_FBcl.WriteFB
extends java.lang.Object
FBlock_FBcl and its properties.
The class is a static inner class because it should access private elements.
The class is seperated from FBlock_FBcl for a clarified structure. Separate creation from usage.| Modifier and Type | Field and Description |
|---|---|
FBlock_FBcl |
fb
Access to the created FBlock
|
| Modifier | Constructor and Description |
|---|---|
protected |
WriteFB(FBlock_FBcl fb)
used for derived FBlock types with its Create inner class.
|
protected |
WriteFB(FBtype_FBcl typeFb,
java.lang.String name,
Module_FBcl parentModule,
XY_FBcl graphicPos)
Create a new Block as un-derived with given kind.
|
| Modifier and Type | Method and Description |
|---|---|
void |
changeFBtype(FBtype_FBcl fbt)
Change the type of the FBlock.
|
protected void |
clone_dtypes(DType_FBcl[] orig) |
protected void |
createDinoutPins(FBtype_FBcl fbtRef,
java.util.Map<java.lang.String,Din_FBcl> idxDin,
java.util.Map<java.lang.String,Dout_FBcl> idxDout)
Creates all existing
FBlock_FBcl Dinout pins due to the pins in this Write_FBlock_FBwr
in the order of the type pins. |
protected void |
createEvinoutPins(FBtype_FBcl fbtRef,
java.util.List<Evin_FBcl> listEvin,
java.util.List<Evout_FBcl> listEvout,
LogMessage log) |
protected void |
createRefPortPins(java.util.List<PinRef_FBcl> listRef,
java.util.List<PinPort_FBcl> listPort) |
Pin_FBcl |
get_idxPin(java.lang.String name) |
protected Pin_FBcl[] |
getConnInArray() |
protected Pin_FBcl[] |
getConnOutArray() |
protected Pin_FBcl[] |
getEvInArray() |
protected Pin_FBcl[] |
getEvOutArray() |
void |
put_idxPin(Pin_FBcl pin) |
void |
put_idxPin(java.lang.String name,
Pin_FBcl pin) |
protected void |
setFBlockDTypePin(Dinout_FBcl pin,
int ixDTfb,
DType_FBcl.DtIxmdl dtype)
Fills the
FBlock_FBcl.dTypes for the given pin. |
void |
setSteptime(SteptimeRef_FBcl steptime) |
protected void |
XXXcreateFBlockPinsFromType(LogMessage log)
Create all pin arrays for this instance due to the type pins.
|
public final FBlock_FBcl fb
protected WriteFB(FBtype_FBcl typeFb, java.lang.String name, Module_FBcl parentModule, XY_FBcl graphicPos)
kind - name - protected WriteFB(FBlock_FBcl fb)
fb - The proper derived FBlock_FBcl created in super(new Type_FBlock)public void changeFBtype(FBtype_FBcl fbt)
PinType_FBcl.ixPin.fbt - The new type.public void put_idxPin(Pin_FBcl pin)
public void put_idxPin(java.lang.String name,
Pin_FBcl pin)
public Pin_FBcl get_idxPin(java.lang.String name)
protected void createDinoutPins(FBtype_FBcl fbtRef, java.util.Map<java.lang.String,Din_FBcl> idxDin, java.util.Map<java.lang.String,Dout_FBcl> idxDout)
FBlock_FBcl Dinout pins due to the pins in this Write_FBlock_FBwr
in the order of the type pins.
But it is possible that there are multiple pins for one type pin.idxDin - idxDout - protected void createEvinoutPins(FBtype_FBcl fbtRef, java.util.List<Evin_FBcl> listEvin, java.util.List<Evout_FBcl> listEvout, LogMessage log)
protected void createRefPortPins(java.util.List<PinRef_FBcl> listRef, java.util.List<PinPort_FBcl> listPort)
protected Pin_FBcl[] getEvOutArray()
protected Pin_FBcl[] getEvInArray()
protected Pin_FBcl[] getConnOutArray()
protected Pin_FBcl[] getConnInArray()
protected void clone_dtypes(DType_FBcl[] orig)
public void setSteptime(SteptimeRef_FBcl steptime)
protected void setFBlockDTypePin(Dinout_FBcl pin, int ixDTfb, DType_FBcl.DtIxmdl dtype)
FBlock_FBcl.dTypes for the given pin.
called only from Write_FBlock_FBwr.createFBlockDTypes(Dinout_FBcl)pin - ixMdl - dtype - dtArray - protected void XXXcreateFBlockPinsFromType(LogMessage log)