|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.lcm.x2c.core.X2cBlock
public class X2cBlock
This class shall encapsulate the Block and shall not have any dependency to Scilab.
Constructor Summary | |
---|---|
X2cBlock(at.lcm.x2c.core.structure.Block block)
|
Method Summary | |
---|---|
void |
clearStaticParamId()
|
void |
convertParameters()
|
void |
evaluateParameters()
|
at.lcm.x2c.core.structure.Block |
getBlock()
Returns Block. |
java.lang.String |
getBlockLibType()
Return the library name and the block type in the "library.type" notation |
X2cBlockParameterSimple |
getBlockParameter(java.lang.String parameterName)
shall be build in main class |
java.lang.String |
getComponentName()
|
java.lang.String |
getComponentPrompt()
|
java.lang.String |
getDescription()
|
java.lang.String[] |
getExistingImplementationNames()
|
java.lang.String |
getImplementation()
Returns Block Implementation name. |
java.lang.String |
getLabel()
Returns Block label (Mask name). |
java.lang.String |
getLibraryName()
|
at.lcm.x2c.core.structure.Mask |
getMask()
Returns Block Mask. |
java.lang.String |
getMaskName()
Deprecated. |
java.lang.String |
getModelIdentification()
|
int |
getParameterId()
|
at.lcm.x2c.core.structure.ImplementationParameter |
getUsedControllerParameter(java.lang.String strCtrlParameter)
|
java.lang.String[] |
getUsedControllerParameterNames()
|
int |
getUsedImplementationIndex()
Get the index of the used implementation in the array of getExistingImplementationNames() |
java.lang.String |
getUsedImplementationName()
|
java.lang.String |
identifyBlock()
|
boolean |
isCoT()
|
boolean |
isCurrentModel(java.lang.String modelIdentification)
|
boolean |
isPartOfModel()
|
boolean |
isStaticParameterId()
|
boolean |
isTimeDependent()
|
void |
setBlockParameter(X2cBlockParameterSimple param)
shall be build in main class |
void |
setCoT(boolean cotEnabled)
|
void |
setLabel(java.lang.String label)
Sets Block label (Mask name). |
void |
setModel(at.lcm.x2c.core.structure.Model model)
|
void |
setModelIdentification(java.lang.String modelIdentification)
|
void |
setPartOfModel(boolean isPartOfModel)
|
void |
setSampleTimeFactor(java.lang.Integer sampleTimeFactor)
|
void |
setStaticParamId(int id)
|
void |
setUsedImplementation(java.lang.String impl)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public X2cBlock(at.lcm.x2c.core.structure.Block block) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public java.lang.String getLabel()
Block.getMaskName()
public void setLabel(java.lang.String label) throws java.lang.Exception
label
- Block label
java.lang.Exception
Block.setMaskName(String)
public java.lang.String getBlockLibType()
public java.lang.String getLibraryName()
public java.lang.String getComponentName()
public java.lang.String getComponentPrompt()
public java.lang.String getDescription()
public java.lang.String getImplementation() throws java.lang.Exception
java.lang.Exception
public at.lcm.x2c.core.structure.Mask getMask()
Block.getMask()
public void setStaticParamId(int id) throws java.lang.Exception
java.lang.Exception
Block.setStaticParamId(int)
public void clearStaticParamId()
Block.clearStaticParamId()
public boolean isStaticParameterId()
Block.isStaticParameterId()
public int getParameterId()
Block.getParameterId()
public void setCoT(boolean cotEnabled)
ControlBlock.setCoT(boolean)
public boolean isCoT()
ControlBlock.isCoT()
public java.lang.String[] getExistingImplementationNames()
public java.lang.String getUsedImplementationName()
public int getUsedImplementationIndex() throws java.lang.Exception
java.lang.Exception
public void setUsedImplementation(java.lang.String impl) throws java.lang.Exception
java.lang.Exception
public java.lang.String[] getUsedControllerParameterNames() throws java.lang.Exception
java.lang.Exception
public at.lcm.x2c.core.structure.ImplementationParameter getUsedControllerParameter(java.lang.String strCtrlParameter) throws java.lang.Exception
java.lang.Exception
@Deprecated public java.lang.String getMaskName()
public at.lcm.x2c.core.structure.Block getBlock()
public java.lang.String getModelIdentification()
public void setModelIdentification(java.lang.String modelIdentification)
public boolean isCurrentModel(java.lang.String modelIdentification)
public void convertParameters() throws java.lang.Exception
java.lang.Exception
public boolean isPartOfModel()
public void setPartOfModel(boolean isPartOfModel)
isPartOfModel
- the isPartOfModel to setpublic void setModel(at.lcm.x2c.core.structure.Model model)
public void setBlockParameter(X2cBlockParameterSimple param)
param
- public X2cBlockParameterSimple getBlockParameter(java.lang.String parameterName) throws java.lang.Exception
parameterName
-
java.lang.Exception
public void evaluateParameters()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String identifyBlock()
public boolean isTimeDependent()
public void setSampleTimeFactor(java.lang.Integer sampleTimeFactor) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |