ICoSimulator Interface |
Namespace: Demo3D.EventQueue.CoSimulation
public interface ICoSimulator
The ICoSimulator type exposes the following members.
| Name | Description | |
|---|---|---|
| Flags |
Simulator flags.
| |
| MaxStep |
The maximum step size supported.
| |
| MinStep |
The minimum step size supported.
| |
| Name |
User friendly name of the simulator.
| |
| ValidSpeed |
Returns the valid speeds this simulator can run at.
|
| Name | Description | |
|---|---|---|
| AfterStep |
Called after advancing the simulator.
| |
| BeforeStep |
Called before advancing the simulator.
| |
| GetNextStepSize |
Returns a suggestion as to how long this simulators next step should be.
This is only called for simulators that return the SimulationThread flag from
Flags.
| |
| GetStatus |
The current status of the simulator.
| |
| GetTime |
The current system time reported by the simulator. (Accurate to at least one millisecond.)
| |
| Starting |
Simulation starting.
| |
| Step |
Called to advance the simulator by step.
| |
| Stopped |
Simulation stopped.
|
| Name | Description | |
|---|---|---|
| Interrupted |
Occurs when the simulator is ready to be stepped again before its preferred 'nextStep'.
| |
| StatusChanged |
Occurs when the simulator status changes. A simulator that raises this event should return
RaisesStatusChanged from Flags.
|