public abstract class BaseFieldAnWrapper<T> extends CMLBaseField
| Constructor and Description |
|---|
BaseFieldAnWrapper(java.lang.String name)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
T |
getBlock()
get the function object
|
ExpCalculator |
getY0Exp()
Get the y0 expression.
|
abstract boolean |
hasInput(CMLVarEnum type) |
boolean |
hasOutput(CMLVarEnum type)
Check if this block field has the RefPoint as output
|
boolean |
isFeedback()
Check if the block is a feedback block
|
void |
setBlock(T func)
set the function object
|
void |
setFeedback(boolean b)
Set the block feedback status
|
void |
setY0Exp(ExpCalculator exp)
Set the y0 expression
|
getFieldName, getParameters, setParameters, toStringpublic BaseFieldAnWrapper(java.lang.String name)
name - field namepublic abstract boolean hasInput(CMLVarEnum type)
public T getBlock()
public void setBlock(T func)
func - the objectpublic boolean isFeedback()
public void setFeedback(boolean b)
b - public ExpCalculator getY0Exp()
public void setY0Exp(ExpCalculator exp)
exp - the expression objectpublic boolean hasOutput(CMLVarEnum type)