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)


public class EnumStateMachine<TEnum>

Type Parameters

The type of the t enum.

Inheritance Hierarchy

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