|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.commons.SimplePropertyObject
jadex.application.space.envsupport.environment.DeltaTimeExecutor
public class DeltaTimeExecutor
Space executor that connects to a clock service and reacts on time deltas.
| Field Summary | |
|---|---|
protected IChangeListener |
clocklistener
The clock listener. |
protected IServiceProvider |
container
The platform. |
protected boolean |
scheduled
Flag that a step was scheduled. |
protected boolean |
terminated
The flag indicating that the executor is terminated. |
protected ITimer |
timer
The tick timer. |
protected long |
timestamp
Current time stamp |
| Fields inherited from class jadex.commons.SimplePropertyObject |
|---|
pcs, properties |
| Constructor Summary | |
|---|---|
DeltaTimeExecutor()
Creates a new DeltaTimeExecutor |
|
DeltaTimeExecutor(AbstractEnvironmentSpace space,
boolean tick)
Creates a new DeltaTimeExecutor |
|
| Method Summary | |
|---|---|
void |
start()
Start the space executor. |
void |
terminate()
Terminate the space executor. |
| Methods inherited from class jadex.commons.SimplePropertyObject |
|---|
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jadex.commons.IPropertyObject |
|---|
getProperty, getPropertyNames, hasProperty, setProperty |
| Field Detail |
|---|
protected long timestamp
protected IServiceProvider container
protected IChangeListener clocklistener
protected ITimer timer
protected boolean terminated
protected boolean scheduled
| Constructor Detail |
|---|
public DeltaTimeExecutor()
timecoefficient - the time coefficientclockservice - the clock service
public DeltaTimeExecutor(AbstractEnvironmentSpace space,
boolean tick)
timecoefficient - the time coefficientclockservice - the clock service| Method Detail |
|---|
public void start()
start in interface ISpaceExecutorpublic void terminate()
terminate in interface ISpaceExecutor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||