Click or drag to resize

CoSimulatorBase Class

CoSimulator base class.
Inheritance Hierarchy
SystemObject
  Demo3D.EventQueue.CoSimulationCoSimulatorBase

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

The CoSimulatorBase type exposes the following members.

Constructors
  NameDescription
Protected methodCoSimulatorBase(String, CoSimulatorFlags, SpeedRange)
Constructs a new Simulator with default 10ms MinStep and 100ms MaxStep.
Protected methodCoSimulatorBase(String, ModelTime, ModelTime, CoSimulatorFlags, SpeedRange)
Constructs a new Simulator.
Top
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 set the SimulationThread flag.
Public methodGetStatus
The current status of the simulator.
Public methodGetTime
The current time as reported by the simulator.
Public methodInterrupt
Raises the Interrupted event.
Protected methodNotifyStatusChanged
Raises the StatusChanged event.
Public methodStarting
Simulation starting.
Public methodStep
Called to advance the simulator by step.
Public methodStopped
Simulation stopped.
Public methodToString (Overrides ObjectToString.)
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.
Top
See Also