public class DeltaTimeExecutor extends SimplePropertyObject implements ISpaceExecutor
Modifier and Type | Field and Description |
---|---|
protected IChangeListener |
clocklistener
The clock listener.
|
protected IExternalAccess |
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
|
pcs, properties
PROPERTY_EXECUTION_MONITORING
Constructor and Description |
---|
DeltaTimeExecutor()
Creates a new DeltaTimeExecutor
|
DeltaTimeExecutor(AbstractEnvironmentSpace space,
boolean tick)
Creates a new DeltaTimeExecutor
|
Modifier and Type | Method and Description |
---|---|
void |
start()
Start the space executor.
|
void |
terminate()
Terminate the space executor.
|
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProperty, getPropertyNames, hasProperty, setProperty
protected long timestamp
protected IExternalAccess container
protected IChangeListener clocklistener
protected ITimer timer
protected boolean terminated
protected boolean scheduled
public DeltaTimeExecutor()
timecoefficient
- the time coefficientclockservice
- the clock servicepublic DeltaTimeExecutor(AbstractEnvironmentSpace space, boolean tick)
timecoefficient
- the time coefficientclockservice
- the clock servicepublic void start()
start
in interface ISpaceExecutor
public void terminate()
terminate
in interface ISpaceExecutor