public class FBlock_FBcl
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FBlock_FBcl.Blocktype
This enum describes the general FBlock usage.
|
static class |
FBlock_FBcl.WriteFB
Helper class to create an
FBlock_FBcl and its properties. |
Modifier and Type | Field and Description |
---|---|
Module_FBcl |
_itsModule
The module where the FBlock is member of if this is not a type FBlock (
#_templateFb ! |
private FBlock_FBcl.Blocktype |
_kindFBlock
It is a designation for the kind of the block, not used for Java code but used to detect several types
which are present with this class or with a derived class.
|
Din_FBcl[] |
din
Array of all connections to other Block_Mdl in the same module for inputs of this.
|
Dout_FBcl[] |
dout
Array of all connections to other Block_Mdl in the same module for outputs of this.
|
(package private) static Dout_FBcl[] |
doutempty |
private DataTypeRef_FBcl[] |
dtypes |
Evin_FBcl[] |
evin |
Evout_FBcl[] |
evout |
java.lang.String |
name
Name of the instance of the block.
|
java.lang.String[] |
sOperators
Operators between input values or the const value of a gain or constant.
|
(package private) SteptimeRef_FBcl |
steptime
If null then the FBlock has more as one Steptimes.
|
FBlock_Type_FBcl |
typeFB
All blocks in a model should refer the type.
|
Modifier | Constructor and Description |
---|---|
|
FBlock_FBcl(FBlock_FBcl.Blocktype _kindFBlock,
java.lang.String _name,
FBlock_Type_FBcl _typeFB,
Module_FBcl itsModule,
int nSliced,
java.util.List<DinType_FBcl> coninList,
java.util.List<DoutType_FBcl> conoutList,
java.util.List<EvinType_FBcl> evinList,
java.util.List<EvoutType_FBcl> evoutList)
Complete constructor with all usual used fields.
|
protected |
FBlock_FBcl(FBlock_Type_FBcl typeFb,
FBlock_FBcl.Blocktype kind,
java.lang.String name,
Module_FBcl parentModule)
Create an FBlock yet without dout, din because the number of din may depend on wiring in the module.
|
Modifier and Type | Method and Description |
---|---|
Pin_FBcl[] |
din()
Returns the originally value of
din as getter access. |
Din_FBcl[] |
dinForeach()
Returns never null, able to use in a for-loop.
|
Dout_FBcl[] |
dout()
Returns the originally value of
dout as getter access. |
Dout_FBcl[] |
doutForeach()
Returns never null, able to use in a for-loop.
|
DataTypeRef_FBcl[] |
dtypes() |
Evin_FBcl[] |
evin()
Returns the originally value of
evin as getter access. |
Evin_FBcl |
evin(int ix) |
Evout_FBcl[] |
evout()
Returns the originally value of
evout as getter access. |
Evout_FBcl |
evout(int ix) |
int |
getNrofConnin(Pin_FBcl.XXXXXEKind kind) |
int |
getNrofConnout(Pin_FBcl.XXXXXEKind kind) |
int |
getNrofDin() |
int |
getNrofDout() |
int |
getNrofEvin() |
int |
getNrofEvout() |
DoutType_FBcl.EProps |
getOut1Properties()
Returns the output property of conout[0] as representer of the function blocks property.
|
Pin_FBcl |
getPinEvInByName(java.lang.String name) |
Pin_FBcl |
getPinEvOutByName(java.lang.String name) |
Din_FBcl |
getPinInByName(java.lang.String name) |
Dout_FBcl |
getPinOutByName(java.lang.String name) |
SteptimeRef_FBcl |
getSteptime() |
java.lang.String |
getSteptimeStr() |
FBlock_Type_FBcl |
getTypeFB() |
FBlock_FBcl.Blocktype |
kind() |
java.lang.String |
name() |
java.lang.String |
toString() |
java.lang.String |
typeName()
Returns a proper typename for FBCL
|
Pin_FBcl |
XXXgetConnin(Pin_FBcl.XXXXXEKind what,
int ixPin) |
Pin_FBcl |
XXXgetConnout(Pin_FBcl.XXXXXEKind what,
int ixPin) |
public final java.lang.String name
public final FBlock_Type_FBcl typeFB
public final Module_FBcl _itsModule
#_templateFb
!=null),
The module which is the implementation of this type-FB if this is a type FB.private FBlock_FBcl.Blocktype _kindFBlock
public java.lang.String[] sOperators
public Din_FBcl[] din
public Dout_FBcl[] dout
static Dout_FBcl[] doutempty
private DataTypeRef_FBcl[] dtypes
SteptimeRef_FBcl steptime
public Evin_FBcl[] evin
public Evout_FBcl[] evout
protected FBlock_FBcl(FBlock_Type_FBcl typeFb, FBlock_FBcl.Blocktype kind, java.lang.String name, Module_FBcl parentModule)
FBlock_FBcl.WriteFB
typeFb
- kind
- name
- parentModule
- public FBlock_FBcl(FBlock_FBcl.Blocktype _kindFBlock, java.lang.String _name, FBlock_Type_FBcl _typeFB, Module_FBcl itsModule, int nSliced, java.util.List<DinType_FBcl> coninList, java.util.List<DoutType_FBcl> conoutList, java.util.List<EvinType_FBcl> evinList, java.util.List<EvoutType_FBcl> evoutList)
_kindFBlock
- _name
- _typeFB
- itsModule
- nSliced
- din
- dout
- event
- evout
- public java.lang.String name()
public Pin_FBcl[] din()
din
as getter access.public Dout_FBcl[] dout()
dout
as getter access.public Din_FBcl[] dinForeach()
din
is null, the DinType_FBcl.nullist
is returned, an array with length 0.public Dout_FBcl[] doutForeach()
dout
is null, the DoutType_FBcl.nullist
is returned, an array with length 0.public Evin_FBcl[] evin()
evin
as getter access.public Evin_FBcl evin(int ix)
public Evout_FBcl[] evout()
evout
as getter access.public Evout_FBcl evout(int ix)
public Pin_FBcl XXXgetConnin(Pin_FBcl.XXXXXEKind what, int ixPin)
public Pin_FBcl XXXgetConnout(Pin_FBcl.XXXXXEKind what, int ixPin)
public final int getNrofConnin(Pin_FBcl.XXXXXEKind kind)
public final int getNrofConnout(Pin_FBcl.XXXXXEKind kind)
public final int getNrofEvin()
public final int getNrofEvout()
public final int getNrofDin()
public final int getNrofDout()
public Pin_FBcl getPinEvInByName(java.lang.String name)
public Pin_FBcl getPinEvOutByName(java.lang.String name)
public Dout_FBcl getPinOutByName(java.lang.String name)
public Din_FBcl getPinInByName(java.lang.String name)
public SteptimeRef_FBcl getSteptime()
public java.lang.String getSteptimeStr()
public DoutType_FBcl.EProps getOut1Properties()
public FBlock_Type_FBcl getTypeFB()
public FBlock_FBcl.Blocktype kind()
public java.lang.String typeName()
public DataTypeRef_FBcl[] dtypes()
public java.lang.String toString()
toString
in class java.lang.Object