public interface ISimulationService
Modifier and Type | Field and Description |
---|---|
static String |
MODE_ACTION_STEP
The execution mode time step.
|
static String |
MODE_NORMAL
The execution mode normal.
|
static String |
MODE_TIME_STEP
The execution mode time step.
|
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(IChangeListener listener)
Add a change listener.
|
IClockService |
getClockService()
Get the platform clock.
|
IExecutionService |
getExecutorService()
Get the executor service.
|
IFuture<String> |
getMode()
Get the execution mode.
|
IFuture<Boolean> |
isExecuting()
Test if context is executing.
|
IFuture<Void> |
pause()
Pause the execution (can be resumed via start or step).
|
void |
removeChangeListener(IChangeListener listener)
Remove a change listener.
|
IFuture<Void> |
setClockType(String type)
Set the clock type.
|
IFuture<Void> |
start()
Restart the execution after pause.
|
IFuture<Void> |
stepEvent()
Perform one event.
|
IFuture<Void> |
stepTime()
Perform all actions belonging to one time point.
|
static final String MODE_NORMAL
static final String MODE_TIME_STEP
static final String MODE_ACTION_STEP
IFuture<Void> setClockType(String type)
type
- The clock type.IClockService getClockService()
IExecutionService getExecutorService()
void addChangeListener(IChangeListener listener)
listener
- The change listener.void removeChangeListener(IChangeListener listener)
listener
- The change listener.Copyright © 2012. All Rights Reserved.