|
||||||||||
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.JSONStringDataComponent
de.cau.cs.kieler.sim.table.DataProducer
public class DataProducer
The class DataProducer implements the producer DataComponent which should be scheduled before any
observer DataComponents. In its step(String)
method it produces data according to the
variables and signals that where modified by the user in the table's ViewPart.
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 | |
---|---|
DataProducer()
Instantiates a new producer DataComponent. |
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. |
String |
step(String jSONString)
Step method for a DataObserver and a DataProducer. |
void |
wrapup()
Wrap-up. |
Methods inherited from class de.cau.cs.kieler.sim.kiem.JSONStringDataComponent |
---|
getInitialVariables, provideInitialVariables, setInitialVariables |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataProducer()
Method Detail |
---|
public String step(String jSONString)
KiemExecutionException
that is then catched by the execution manager an brought to
the user's attention.
step
in interface IJSONStringDataComponent
jSONString
- the concrete JSONString of input data (if observer)
public void initialize()
KiemInitializationException
.
initialize
in interface IDataComponent
public boolean isObserver()
isObserver
in interface IDataComponent
public boolean isProducer()
isProducer
in interface IDataComponent
public void wrapup()
KiemInitializationException
.
wrapup
in interface IDataComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |