Class Scheduler
The Scheduler class is used to schedule emulation events of the systemgraph.
Inherited Members
Namespace: Mechatronics.SystemGraph
Assembly: solution.dll
Syntax
public class Scheduler
Fields
Name | Description |
---|---|
Now | Current time |
TimeAbsolute | Time since start |
TimeAtSource | Source time |
Properties
Name | Description |
---|---|
NextFrameTime | Gets the next frame time to schedule. |
NodeOrder | Gets the initialization node order list. |
Waveform | Gets the list of waveforms |
Methods
Name | Description |
---|---|
DisableNodes() | Call Disable() for all nodes. See EnableNodes() for details on order. |
EnableNodes() | Call Enable() for all nodes. Order is random for Async nodes, but they will be called before Sync nodes. Sync nodes are enabled in the order they appear in the scheduler. |
FixedUpdate() | Called from a Unity FixedUpdate() to signal a scheduler update. |
Initialize(SystemGraphComponent, SystemGraphObject) | Initialize this scheduler component. |
Pause() | Pause the scheduler. |
Resume() | Resume after Pause(). |
SetTimeScaleFactor(double) | Set time scale. |
StartNodes() | Call Start() for all nodes. See EnableNodes() for details on order. |
Step(int) | Step the scheduler a integer number of steps. |
Update() | Called from a Unity Update() to signal a scheduler update. |
UserUpdate(double) | Called from a custom user update function to signal a scheduler update. |