| StateMachineTraceStateChangeEventHandler Delegate |
Represents a method that will be called for tracing state changes in the
StateMachine.
Namespace: StaMaAssembly: StaMa (in StaMa.dll) Version: 2.3.1.7
Syntax public delegate void TraceStateChangeEventHandler(
StateMachine stateMachine,
StateConfiguration stateConfigurationFrom,
StateConfiguration stateConfigurationTo,
Transition transition
)
Public Delegate Sub TraceStateChangeEventHandler (
stateMachine As StateMachine,
stateConfigurationFrom As StateConfiguration,
stateConfigurationTo As StateConfiguration,
transition As Transition
)
public delegate void TraceStateChangeEventHandler(
StateMachine^ stateMachine,
StateConfiguration^ stateConfigurationFrom,
StateConfiguration^ stateConfigurationTo,
Transition^ transition
)
type TraceStateChangeEventHandler =
delegate of
stateMachine : StateMachine *
stateConfigurationFrom : StateConfiguration *
stateConfigurationTo : StateConfiguration *
transition : Transition -> unit
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