public class Dout_FBcl extends Dinout_FBcl<Dout_FBcl,Din_FBcl>
FBlock_FBcl
instances.
There are some additional information and operations for event chain building and code generation to Pin_FBcl
.Pin_FBcl.XXXXXEKind
PinBase_FBcl.EPinKind
Modifier and Type | Field and Description |
---|---|
boolean |
bBreakChain
An output which breaks the chain of events because of an special internal wiring
condition from the source of the graphical module,
it is for example a Unit delay in Simulink,
or from the
FBlock_Type_FBcl which has this property too:
DoutType_FBcl.bBreakChain . |
private boolean |
bLocalVar
Set in the Event Chain Builder: true then this output should be presented by an instance variable in code generation.
|
private boolean |
bObjectVar
Set in the Event Chain Builder: true then this output is generated in the evChain operation as result of an event input
|
private boolean |
bSetInEvinOp
True then this dout is used or the variable will be set (
bLocalVar )
while the evin-operation is executed. |
private long |
mAlreadyCheckedInEvChain
The bit of the
Evchain_FBcl.nr is set if this Dout is already processed inside the evChain
by Evchain_FBcl.Wr.checkDin(long, FBlock_FBcl, Operation_FBcl, Write_Module_FBwr) . |
private long |
mCheckedDinForEvin
The Din which are checked for evin already in the same evChain.
|
private long |
mOperations
Bits for all operations which influences this output.
|
private long |
mOperationsNext
Bits for a next opeation which uses this
Dout_FBcl as input. |
static Dout_FBcl[] |
nullArray |
private java.lang.String |
sCodeAccess
If not null then it is a constant given as String on this input.
|
pinDtype, steptime, zVectorDim
ixPin, kind, mAssociatedEvData, namePin
Constructor and Description |
---|
Dout_FBcl(PinBase_FBcl.EPinKind what,
java.lang.String namePin,
int ixPin,
FBlock_FBcl fb)
It is for
Module_FBcl.dinPort |
Dout_FBcl(java.lang.String namePin,
int ixPin,
FBlock_FBcl fb) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCodeAccess() |
DoutType_FBcl |
getDoutType() |
Operation_FBcl |
getOneOperation()
Returns the only one operation or null.
|
boolean |
isAlreadyCombinatoricDinChecked(Evchain_FBcl evChain) |
boolean |
isLocalVar()
This output should be presented in generate code with a variable.
|
boolean |
isObjectVar()
This output should be presented in generate code with an instance variable
because other evChain operations may use it, or an output is connected,
or the output is wired from back (a state variable).
|
java.lang.Iterable<Operation_FBcl> |
iterOperations(Module_FBcl mdl) |
java.lang.Iterable<Operation_FBcl> |
iterOperNext(Module_FBcl mdl) |
long |
mCheckedDinForEvin() |
void |
mCheckedDinForEvin(long bits) |
long |
mOper()
Operations which sets this output.
|
long |
mOperNext()
Operations which uses this output for calculation.
|
java.lang.String |
operHex() |
boolean |
setAlreadyCombinatoricDinChecked(Evchain_FBcl evChain) |
void |
setCodeAccess(java.lang.String val) |
void |
setLocalVar(Write_Module_FBwr mdlwr)
This output should be presented in generate code with a variable.
|
void |
setObjectVar(Write_Module_FBwr mdlwr)
This output should be presented in generate code with an instance variable
because other evChain operations may use it, or an output is connected,
or the output is wired from back (a state variable).
|
void |
setOperation(Operation_FBcl oper) |
void |
setOperNext(Operation_FBcl operNext)
Inform that this output is used by the given operation.
|
java.lang.String |
toString() |
java.lang.String |
varName()
Returns a variable name proper to the Dout and FBlock.
|
dtype
addEvchain, addEvchainDepending, connectFrom, connections, containsEvchain, containsOtherEvchain, dinType, doutType, evChainHex, evinType, evoutType, getFirstConnection, getNameFBpin, getOneConnection, iterConnections, iterEvchainDep, iterEvchainShow, nrofConnections, removeConnections, throwError, toStringDtype, wrConInfo
addAssociatedEvData, maskAssociatedEvData
public static Dout_FBcl[] nullArray
private java.lang.String sCodeAccess
private boolean bLocalVar
private boolean bObjectVar
private long mOperations
private long mOperationsNext
Dout_FBcl
as input.
Hence it is depending in the event queue execution.private long mCheckedDinForEvin
bObjectVar
private long mAlreadyCheckedInEvChain
Evchain_FBcl.nr
is set if this Dout is already processed inside the evChain
by Evchain_FBcl.Wr.checkDin(long, FBlock_FBcl, Operation_FBcl, Write_Module_FBwr)
.private boolean bSetInEvinOp
bLocalVar
)
while the evin-operation is executed.public boolean bBreakChain
FBlock_Type_FBcl
which has this property too:
DoutType_FBcl.bBreakChain
.public Dout_FBcl(java.lang.String namePin, int ixPin, FBlock_FBcl fb)
public Dout_FBcl(PinBase_FBcl.EPinKind what, java.lang.String namePin, int ixPin, FBlock_FBcl fb)
Module_FBcl.dinPort
what
- namePin
- ixPin
- fb
- public void setLocalVar(Write_Module_FBwr mdlwr)
setObjectVar(Write_Module_FBwr)
was not set.mdlwr
- public boolean isLocalVar()
setObjectVar(Write_Module_FBwr)
was not set.public void setObjectVar(Write_Module_FBwr mdlwr)
mdlwr
- public boolean isObjectVar()
mdlwr
- public boolean setAlreadyCombinatoricDinChecked(Evchain_FBcl evChain)
public boolean isAlreadyCombinatoricDinChecked(Evchain_FBcl evChain)
public void mCheckedDinForEvin(long bits)
public long mCheckedDinForEvin()
public void setCodeAccess(java.lang.String val)
public java.lang.String getCodeAccess()
public void setOperation(Operation_FBcl oper)
public long mOper()
Module_FBcl.allOperations
#iterOperations(Module_FBcl)(Module_FBcl);r
public java.lang.Iterable<Operation_FBcl> iterOperations(Module_FBcl mdl)
public void setOperNext(Operation_FBcl operNext)
operNext
- public long mOperNext()
Module_FBcl.allOperations
iterOperNext(Module_FBcl);r
public java.lang.Iterable<Operation_FBcl> iterOperNext(Module_FBcl mdl)
public DoutType_FBcl getDoutType()
public Operation_FBcl getOneOperation()
#iterOperations()
if returns null here.public java.lang.String varName()
public java.lang.String operHex()