StaMa Namespace |
Contains all classes, interfaces and delegate types to implement state machines.
See class StateMachineTemplate to create the structure of a state machine.
Use method CreateStateMachine or CreateStateMachine(Object) to create StateMachine instances.
Send events to a state machine to trigger transitions through method SendTriggerEvent(Object) or SendTriggerEvent(Object, EventArgs).
Class | Description | |
---|---|---|
Region |
Represents a container for states and defines the initial State for the contained states.
| |
RegionCollection |
Represents a list of Region instances.
| |
State |
Represents a state with entry and exit actions. Hierarchical sub-states are aggregated through the Regions collection.
| |
StateCollection |
Represents a list of State instances.
| |
StateConfiguration |
Specifies a state configuration in a structured way.
| |
StateMachine |
Contains the active state of a state machine. Receives the trigger events and
executes the actions according to the state machine structure defined by the StateMachineTemplate from which the StateMachine instance is created.
| |
StateMachineException |
The exception that is thrown during creation of the state machine template when creation rules are violated.
| |
StateMachineTemplate |
Contains the structure and behaviour definition of a state machine.
| |
Transition |
Represents a transition with source state, target state and information when the transition shall be executed.
| |
TransitionCollection |
Represents a list of Transition instances.
|
Interface | Description | |
---|---|---|
IStateConfigurationVisitor |
Defines a set of methods which allow for composing a human readable representation of a StateConfiguration.
| |
IStateMachineTemplateVisitor |
Defines the visitor interface to be used for passing through the
regions, states and transitions of a StateMachineTemplate.
|
Delegate | Description | |
---|---|---|
SignatureGenerator |
Represents a method that calculates a hash value for a String.
| |
StateMachineTraceDispatchTriggerEventEventHandler |
Represents a method that will be called whenever the event queue dispatches an event to the state machine.
| |
StateMachineTraceStateChangeEventHandler |
Represents a method that will be called for tracing state changes in the StateMachine.
| |
StateMachineTraceTestTransitionEventHandler |
Represents a method that will be called for tracing which transitions are
considered by the state machine as active during a SendTriggerEvent(Object) or SendTriggerEvent(Object, EventArgs) call.
| |
StateMachineActionCallback |
Represents a method that will be called when a State entry, exit or Transition action shall be executed.
| |
StateMachineDoActionCallback |
Represents a method that will be called when a State do action shall be executed.
| |
StateMachineGuardCallback |
Represents a method that will be called when a Transition guard shall be executed.
|
Enumeration | Description | |
---|---|---|
StateMachineOptions |
Defines optional behavior or functionality for the state machines.
|