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

Represents a transition between two fork-joins. More...

Inheritance diagram for NSFForkJoinTransition:
NSFExternalTransition NSFTransition NSFTaggedObject NSFUniquelyNumberedObject INSFNamedObject

Public Member Functions

 NSFForkJoinTransition (NSFString name, NSFForkJoin source, NSFForkJoin target, NSFRegion region, NSFVoidAction< NSFStateMachineContext > action)
 Creates a transition between two fork-joins. More...
 
- Public Member Functions inherited from NSFExternalTransition
 NSFExternalTransition (NSFState source, NSFState target, NSFEvent trigger, NSFBoolGuard< NSFStateMachineContext > guard, NSFVoidAction< NSFStateMachineContext > action)
 Creates an external transition. More...
 
 NSFExternalTransition (NSFString name, NSFState source, NSFState target, NSFEvent trigger, NSFBoolGuard< NSFStateMachineContext > guard, NSFVoidAction< NSFStateMachineContext > action)
 Creates an external transition. More...
 
- Public Member Functions inherited from NSFTransition
void addTrigger (NSFEvent trigger)
 Adds a trigger to the list of trigger events. More...
 
- Public Member Functions inherited from NSFTaggedObject
 NSFTaggedObject (NSFString name)
 Creates an object with a unique id and a name. More...
 
- Public Member Functions inherited from NSFUniquelyNumberedObject
 NSFUniquelyNumberedObject ()
 Creates a uniquely numbered object. More...
 
bool isSameObject (NSFUniquelyNumberedObject other)
 Checks if this object is the same as another object. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from NSFUniquelyNumberedObject
static NSFId getNextUniqueId ()
 Gets the next unique id. More...
 
- Public Attributes inherited from NSFTransition
NSFVoidActions
< NSFStateMachineContext
Actions = new NSFVoidActions<NSFStateMachineContext>()
 Actions to be executed whenever the transition is taken. More...
 
NSFBoolGuards
< NSFStateMachineContext
Guards = new NSFBoolGuards<NSFStateMachineContext>()
 Guards to be evaluated to determine if the transition can be taken. More...
 
- Protected Member Functions inherited from NSFExternalTransition
override void fireTransition (NSFStateMachineContext context)
 Fires the transition. More...
 
- Protected Member Functions inherited from NSFTransition
 NSFTransition (NSFString name, NSFState source, NSFState target, NSFEvent trigger, NSFBoolGuard< NSFStateMachineContext > guard, NSFVoidAction< NSFStateMachineContext > action)
 Creates a transition. More...
 
- Properties inherited from NSFExternalTransition
override NSFState Source [set]
 
- Properties inherited from NSFTransition
virtual NSFState Source [get, set]
 Gets or sets the source of the transition. More...
 
NSFState Target [get, set]
 Gets or sets the target of the transition. More...
 
List< NSFEventTriggers [get]
 Gets the list of trigger events for the transition. More...
 
- Properties inherited from NSFTaggedObject
NSFString Name [get, set]
 
- Properties inherited from NSFUniquelyNumberedObject
NSFId UniqueId [get]
 Gets or sets the unique id of the object. More...
 
- Properties inherited from INSFNamedObject
NSFString Name [get]
 Gets the name of the object. More...
 

Detailed Description

Represents a transition between two fork-joins.

This class is an extension to UML 2.x. It allows a transition to be made between two fork-joins, optionally specifying a region associated with the transition. If a region is specified, its active substate will be the target fork-join after the transition is taken. If a NULL region is specified, then no region's active substate will be the target fork-join as a result of taking this transition. This latter case, where the associated region is NULL, is equivalent to using an external transition between the two fork-joins.

Constructor & Destructor Documentation

NSFForkJoinTransition ( NSFString  name,
NSFForkJoin  source,
NSFForkJoin  target,
NSFRegion  region,
NSFVoidAction< NSFStateMachineContext action 
)

Creates a transition between two fork-joins.

Parameters
nameUser assigned name for transition.
sourceTransition source.
targetTransition target.
regionTransition region.
actionTransition action.

This class is an extension to UML 2.x. It allows a transition to be made between two fork-joins, optionally specifying a region associated with the transition. If a region is specified, its active substate will be the target fork-join after the transition is taken. If a NULL region is specified, then no region's active substate will be the target fork-join as a result of taking this transition. This latter case, where the associated region is NULL, is equivalent to using an external transition between the two fork-joins.




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