|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.sim.kiem.internal.AbstractDataComponent
de.cau.cs.kieler.sim.kiem.JSONObjectDataComponent
de.cau.cs.kieler.sim.syncsignalreset.DataComponent
public class DataComponent
The class DataComponent implements the KIEM Extension Point. The step(JSONObject)
method
looks out for present signals and resets the to be absent again, because signals within the
KIELER Execution Manager are explicitly made present or absent.
Field Summary |
---|
Fields inherited from class de.cau.cs.kieler.sim.kiem.internal.AbstractDataComponent |
---|
MASTER_CMD_MACROSTEP, MASTER_CMD_PAUSE, MASTER_CMD_RUN, MASTER_CMD_STEP, MASTER_CMD_STEPBACK, MASTER_CMD_STOP |
Constructor Summary | |
---|---|
DataComponent()
|
Method Summary | |
---|---|
void |
initialize()
Initialize. |
boolean |
isDeltaObserver()
Checks if component is a delta observer. |
boolean |
isObserver()
To check whether the DataComponent is an observer. |
boolean |
isProducer()
To check whether the DataComponent is a producer. |
JSONObject |
step(JSONObject allDataIn)
Step method for a DataObserver and a DataPrroducer. |
void |
wrapup()
Wrap-up. |
Methods inherited from class de.cau.cs.kieler.sim.kiem.JSONObjectDataComponent |
---|
getInitialVariables, provideFilterKeysJSON, provideInitialVariables, setInitialVariables |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataComponent()
Method Detail |
---|
public JSONObject step(JSONObject allDataIn) throws KiemExecutionException
KiemExecutionException
that is then catched by the execution manager an brought to
the user's attention.
step
in interface IJSONObjectDataComponent
allDataIn
- the concrete JSONObject of input data (if observer)
KiemExecutionException
- a KiemExecutionExceptionpublic void initialize() throws KiemInitializationException
KiemInitializationException
.
initialize
in interface IDataComponent
KiemInitializationException
- a KiemInitializationExceptionpublic boolean isObserver()
isObserver
in interface IDataComponent
public boolean isProducer()
isProducer
in interface IDataComponent
public void wrapup() throws KiemInitializationException
KiemInitializationException
.
wrapup
in interface IDataComponent
KiemInitializationException
- a KiemInitializationExceptionpublic boolean isDeltaObserver()
isDeltaObserver
in class AbstractDataComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |