Click or drag to resize
StaMaStateMachineTraceStateChangeEventHandler Delegate
Represents a method that will be called for tracing state changes in the StateMachine.

Namespace: StaMa
Assembly: StaMa (in StaMa.dll) Version: 2.3.1.7
Syntax
public delegate void TraceStateChangeEventHandler(
	StateMachine stateMachine,
	StateConfiguration stateConfigurationFrom,
	StateConfiguration stateConfigurationTo,
	Transition transition
)

Parameters

stateMachine
Type: StaMaStateMachine
The source StateMachine instance that raises the event.
stateConfigurationFrom
Type: StaMaStateConfiguration
A StateConfiguration instance that represents the old state.
stateConfigurationTo
Type: StaMaStateConfiguration
A StateConfiguration instance that represents the new state.
transition
Type: StaMaTransition
The Transition that conveys the state machine from the old state to the new state.
Remarks
This event handler is not intended to interfere with the state machine excution. Actions within the state machine shall solely be executed through the EntryAction, ExitAction and TransitionAction. The purpose of this event handler is purely tracing for analysis purposes or other.
See Also