Sage Modeling and Simulation Library

EnumStateMachine<(Of <(<'TEnum>)>)> Class

The EnumStateMachine represents a simple state machine whose states are the values of the enum, whose transitions are all allowable, and which tracks the amount of run-time spent in each state. A developer can wrap this class in another to limit the permissible transitions, add handlers, etc.

Namespace:  Highpoint.Sage.SimCore
Assembly:  Sage4 (in Sage4.dll)

Syntax


public class EnumStateMachine<TEnum>

Type Parameters

TEnum
The type of the t enum.

Inheritance Hierarchy


Object
  Highpoint.Sage.SimCore..::..EnumStateMachine<(Of <(<'TEnum>)>)>