Click or drag to resize
StaMaStateMachineTraceTestTransition Property
Gets or sets a callback that can be used for tracing and analyzing the StateMachine operation.

Namespace: StaMa
Assembly: StaMa (in StaMa.dll) Version: 2.3.1.7
Syntax
public StateMachineTraceTestTransitionEventHandler TraceTestTransition { get; set; }

Property Value

Type: StateMachineTraceTestTransitionEventHandler
Remarks
The delegate will be called when the event queue dispatches an event to the state machine for every Transition that is regarded as active.

The StateMachine passes the following parameters to the callback:

  1. The StateMachine instance that investigates the event.
  2. The Transition instance that investigates the event.
  3. The Object that represents the trigger event that was sent to the state machine.
  4. The EventArgs instance that carries additional parameters accompanying the trigger event.

The intended purpose of this callback is purely for tracing or analysis purposes. The callback is expected to not interfere with the state machine excution. Actions within a state machine shall solely be executed through the EntryAction, ExitAction and TransitionAction.

See Also