Co |
public abstract class CoSimulatorBase : ICoSimulator
The CoSimulatorBase type exposes the following members.
| Name | Description | |
|---|---|---|
| CoSimulatorBase | Constructs a new Simulator. |
| Name | Description | |
|---|---|---|
| Flags | Simulator flags. | |
| 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. | |
| CheckStatus | Check the current status of the simulator. | |
| GetStatus | The current status of the simulator. | |
| GetStepSize | Called before Step(ModelTime, ModelTime) with a proposed step size. Must return a step size that suits. | |
| GetTime | The current time as reported by the simulator. | |
| Interrupt | Raises OnInterrupt. | |
| Paused | Simulation paused. | |
| Reset | Simulation reset. | |
| Resuming | Simulation resuming with a new negotiated speed. | |
| Step | Called to advance the simulator by step. |
| Name | Description | |
|---|---|---|
| OnInterrupt | Raised when the simulator needs to interrupt the simulation. Causes the co-sim master to wake (or wake early) and reprocess each simulator. |