Click or drag to resize

ICoSimulator Interface

Represents one simulator.

Namespace:  Demo3D.EventQueue.CoSimulation
Assembly:  Demo3D.EventQueue (in Demo3D.EventQueue.dll) Version: 15.0.2.11458
Syntax
C#
public interface ICoSimulator

The ICoSimulator type exposes the following members.

Properties
  NameDescription
Public propertyFlags
Simulator flags.
Public propertyMaxStep
The maximum step size supported.
Public propertyMinStep
The minimum step size supported.
Public propertyName
User friendly name of the simulator.
Public propertyValidSpeed
Returns the valid speeds this simulator can run at.
Top
Methods
  NameDescription
Public methodAfterStep
Called after advancing the simulator.
Public methodBeforeStep
Called before advancing the simulator.
Public methodGetNextStepSize
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.
Public methodGetStatus
The current status of the simulator.
Public methodGetTime
The current system time reported by the simulator. (Accurate to at least one millisecond.)
Public methodStarting
Simulation starting.
Public methodStep
Called to advance the simulator by step.
Public methodStopped
Simulation stopped.
Top
Events
  NameDescription
Public eventInterrupted
Occurs when the simulator is ready to be stepped again before its preferred 'nextStep'.
Public eventStatusChanged
Occurs when the simulator status changes. A simulator that raises this event should return RaisesStatusChanged from Flags.
Top
See Also