|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.synccharts.sim.ptolemy.ExecutePtolemyModel
public class ExecutePtolemyModel
The class ExecutePtolemyModel implements the PtolemyExecutor. This is the component that enables loading and executing (generated) Ptolemy models.
Nested Class Summary | |
---|---|
class |
ExecutePtolemyModel.ModelOutput
|
Constructor Summary | |
---|---|
ExecutePtolemyModel(String PtolemyModel)
Instantiates a new ExecutePtolemyModel. |
Method Summary | |
---|---|
void |
executionInitialize()
Execution initialize. |
void |
executionStep()
Trigger the execution to perform another step. |
void |
executionStop()
|
String |
getActiveStates()
Gets the currently active state as URIFragment. |
String |
getActiveTransitions()
Gets the currently active state as URIFragment. |
String[] |
getInterfaceSignals()
|
String[] |
getModelOutputAbsentSignals()
|
String[] |
getModelOutputPresentSignals()
|
boolean |
isSignalPresent(String signalName)
|
void |
setData(JSONObject jSONObject)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExecutePtolemyModel(String PtolemyModel)
PtolemyModel
- the Ptolemy model to executeMethod Detail |
---|
public void setData(JSONObject jSONObject)
public boolean isSignalPresent(String signalName)
public String[] getInterfaceSignals()
public String[] getModelOutputPresentSignals()
public String[] getModelOutputAbsentSignals()
public String getActiveStates()
public String getActiveTransitions()
public void executionStep() throws KiemExecutionException
executionStop()
method is called before this step is actually performed it
wont be performed! #run()
method of the thread then it
is thrown in here. Note that this exception normally happened in any step performed before
the current one but only now will be brought to the users or KIEM attention.
KiemExecutionException
- a KiemExecutionExceptionpublic void executionStop()
public void executionInitialize() throws KiemInitializationException
KiemInitializationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |