public class NativeWrapper extends Object implements StateRunnable
| Constructor and Description |
|---|
NativeWrapper(GeneratedInstance geninst,
NativeType nt) |
public NativeWrapper(GeneratedInstance geninst, NativeType nt)
public void advance(StateRunnable parent, double t, double dt) throws RuntimeError, ContentError
advance in interface StateRunnableRuntimeErrorContentErrorpublic double getVariable(String varname) throws RuntimeError
getVariable in interface StateRunnableRuntimeErrorpublic StateRunnable getChild(String snm) throws ConnectionError
getChild in interface StateRunnableConnectionErrorpublic void exportState(String pfx, double t, LineDisplay ld)
exportState in interface StateRunnablepublic InPort getFirstInPort() throws ConnectionError
getFirstInPort in interface StateRunnableConnectionErrorpublic InPort getInPort(String portId) throws ConnectionError
getInPort in interface StateRunnableConnectionErrorpublic StateWrapper getWrapper(String string)
getWrapper in interface StateRunnablepublic HashMap<String,DoublePointer> getVariables()
getVariables in interface StateRunnablepublic String stateString()
stateString in interface StateRunnablepublic void setVariable(String varname, double d)
setVariable in interface StateRunnablepublic String getID()
getID in interface StateRunnablepublic void setNewVariable(String string, double d)
setNewVariable in interface StateRunnablepublic void evaluate(StateRunnable parent) throws RuntimeError, ContentError
evaluate in interface StateRunnableRuntimeErrorContentErrorpublic void initialize(StateRunnable sr) throws RuntimeError, ContentError
initialize in interface StateRunnableRuntimeErrorContentErrorpublic Object getComponentID()
getComponentID in interface StateRunnablepublic boolean hasChildInstance(String string)
hasChildInstance in interface StateRunnablepublic StateRunnable getChildInstance(String string) throws ContentError
getChildInstance in interface StateRunnableContentErrorpublic ArrayList<StateRunnable> quietGetStateInstances(String path) throws ConnectionError, ContentError, RuntimeError
quietGetStateInstances in interface StateRunnableConnectionErrorContentErrorRuntimeErrorpublic void setParent(StateRunnable par)
setParent in interface StateRunnablepublic ArrayList<StateRunnable> getStateInstances() throws ConnectionError, ContentError, RuntimeError
getStateInstances in interface StateRunnableConnectionErrorContentErrorRuntimeErrorpublic void checkBuilt()
throws ConnectionError,
ContentError,
RuntimeError
checkBuilt in interface StateRunnableConnectionErrorContentErrorRuntimeErrorpublic StateRunnable getScopeInstance(String id)
getScopeInstance in interface StateRunnablepublic ArrayList<StateRunnable> getPathInstances(String sel) throws ContentError, ConnectionError, RuntimeError
getPathInstances in interface StateRunnableContentErrorConnectionErrorRuntimeErrorpublic double quietGetFloatProperty(String sel) throws ContentError
quietGetFloatProperty in interface StateRunnableContentErrorpublic boolean hasSingleMI()
hasSingleMI in interface StateRunnablepublic OutPort getOutPort(String sourcePortId)
getOutPort in interface StateRunnablepublic StateRunnable getPathStateInstance(String path) throws ContentError
getPathStateInstance in interface StateRunnableContentErrorpublic OutPort getFirstOutPort()
getFirstOutPort in interface StateRunnablepublic StateRunnable getParent()
getParent in interface StateRunnablepublic InstanceSet<StateRunnable> getUniqueInstanceSet() throws ContentError
getUniqueInstanceSet in interface StateRunnableContentErrorpublic InstanceSet<StateRunnable> getInstanceSet(String col)
getInstanceSet in interface StateRunnablepublic Object getWork()
getWork in interface StateRunnablepublic ArrayList<StateRunnable> getStateInstances(String path) throws ConnectionError, ContentError, RuntimeError
getStateInstances in interface StateRunnableConnectionErrorContentErrorRuntimeErrorpublic double getFloatProperty(String sel) throws ContentError
getFloatProperty in interface StateRunnableContentErrorpublic String getPathStringValue(String fieldName, double fac, double off) throws ContentError, RuntimeError
getPathStringValue in interface StateRunnableContentErrorRuntimeErrorpublic void addAttachment(String destAttachments, StateInstance rsi) throws ConnectionError, ContentError, RuntimeError
addAttachment in interface StateRunnableConnectionErrorContentErrorRuntimeErrorpublic MultiInstance getSingleMI()
getSingleMI in interface StateRunnablepublic void setList(String childrenName)
setList in interface StateRunnablepublic String getChildSummary()
getChildSummary in interface StateRunnablepublic boolean isBuilt()
isBuilt in interface StateRunnablepublic void addAttachment(StateInstance rsi) throws ConnectionError, ContentError, RuntimeError
addAttachment in interface StateRunnableConnectionErrorContentErrorRuntimeErrorpublic String getDimensionString(String lastbit)
getDimensionString in interface StateRunnableCopyright © 2019. All rights reserved.