|
||||||||||
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.kev.extension.dataobserver.KEVExampleDataProducer
public class KEVExampleDataProducer
A simple Example the Watertank.svg.
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 | |
---|---|
KEVExampleDataProducer()
Producer for Example data for KEV. |
Method Summary | |
---|---|
void |
initialize()
Initialize. |
boolean |
isObserver()
To check whether the DataComponent is an observer. |
boolean |
isProducer()
To check whether the DataComponent is a producer. |
JSONObject |
step(JSONObject JSONobject)
Step method, where JSON-Values are created. |
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 KEVExampleDataProducer()
Method Detail |
---|
public JSONObject step(JSONObject JSONobject) throws KiemExecutionException
step
in interface IJSONObjectDataComponent
JSONobject
- the current JSON Object, which will be updated
KiemExecutionException
public void initialize() throws KiemInitializationException
IDataComponent
KiemInitializationException
.
initialize
in interface IDataComponent
KiemInitializationException
- a KiemInitializationExceptionpublic boolean isObserver()
IDataComponent
isObserver
in interface IDataComponent
public boolean isProducer()
IDataComponent
isProducer
in interface IDataComponent
public void wrapup() throws KiemInitializationException
IDataComponent
KiemInitializationException
.
wrapup
in interface IDataComponent
KiemInitializationException
- a KiemInitializationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |