CoSimulatorBase Class |
Namespace: Demo3D.EventQueue.CoSimulation
public abstract class CoSimulatorBase : ICoSimulator
The CoSimulatorBase type exposes the following members.
| Name | Description | |
|---|---|---|
| CoSimulatorBase(String, CoSimulatorFlags, SpeedRange) |
Constructs a new Simulator with default 10ms MinStep and 100ms MaxStep.
| |
| CoSimulatorBase(String, ModelTime, ModelTime, CoSimulatorFlags, SpeedRange) |
Constructs a new Simulator.
|
| 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 set the SimulationThread flag.
| |
| GetStatus |
The current status of the simulator.
| |
| GetTime |
The current time as reported by the simulator.
| |
| Interrupt |
Raises the Interrupted event.
| |
| NotifyStatusChanged |
Raises the StatusChanged event.
| |
| Starting |
Simulation starting.
| |
| Step |
Called to advance the simulator by step.
| |
| Stopped |
Simulation stopped.
| |
| ToString | (Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| Interrupted |
Occurs when the simulator is ready to be stepped again before its preferred 'nextStep'.
| |
| StatusChanged |
Occurs when the simulator status changes.
|