North State Framework in C#  V3.0.0
An object-oriented framework for implementing UML state machines.
Public Member Functions | Properties | List of all members
NSFStateMachineContext Class Reference

Represents contextual information for state machine actions and guards. More...

Inheritance diagram for NSFStateMachineContext:
NSFContext

Public Member Functions

 NSFStateMachineContext (NSFStateMachine source, NSFState enteringState, NSFState exitingState, NSFTransition transition, NSFEvent trigger)
 Creates a state machine context. More...
 
- Public Member Functions inherited from NSFContext
 NSFContext (object source)
 Creates a general purpose action or guard context. More...
 

Properties

NSFState EnteringState [get, set]
 Gets or sets the state being entered. More...
 
NSFState ExitingState [get, set]
 Gets or sets the state being exited. More...
 
new NSFStateMachine Source [get]
 Gets the source of invocation. More...
 
NSFTransition Transition [get, set]
 Gets or sets the associated transition. More...
 
NSFEvent Trigger [get, set]
 Gets or sets the triggering event. More...
 
- Properties inherited from NSFContext
object Source [get, set]
 Gets or sets the source of invocation. More...
 

Detailed Description

Represents contextual information for state machine actions and guards.

Constructor & Destructor Documentation

NSFStateMachineContext ( NSFStateMachine  source,
NSFState  enteringState,
NSFState  exitingState,
NSFTransition  transition,
NSFEvent  trigger 
)

Creates a state machine context.

Parameters
sourceThe state machine.
enteringStateThe state being entered.
exitingStateThe state being exited.
transitionThe associated transition.
triggerThe triggering event.

Property Documentation

NSFState EnteringState
getset

Gets or sets the state being entered.

Entering state is null unless the context corresponds to an entry action.

NSFState ExitingState
getset

Gets or sets the state being exited.

Exiting state is null unless the context corresponds to an exit action.

new NSFStateMachine Source
get

Gets the source of invocation.

NSFTransition Transition
getset

Gets or sets the associated transition.

NSFEvent Trigger
getset

Gets or sets the triggering event.




Copyright 2004-2014, North State Software, LLC. All rights reserved.