Method | Description | |
---|---|---|
ForceState ( QualifiedName stateName ) : void |
Sets the state for the machine without generating any events.
|
|
GotoInitialState ( ) : void |
Moves the state machine into the initial state.
|
|
OnCauseInvoked ( |
Called when a cause is invoked.
|
|
ParentMachineStateChanged ( QualifiedName state, QualifiedName transition ) : void |
Updates the state after the parent state changes.
|
|
SetState ( |
Sets the state for the machine.
|
|
SetSubState ( |
Sets the state for the machine.
|
Method | Description | |
---|---|---|
AddTransition ( ILocalNode source ) : void |
Called to process a transition that was found in the machine.
|
|
BeginTransitionForCause ( |
Begins a transition.
|
|
BeginTransitionToState ( |
Begins a transition.
|
|
ConstructMachine ( object configuration ) : void |
Contructs the machine by reading the address space.
|
|
ConstructMachineFromType ( NodeId typeDefinitionId ) : void |
Contructs the machine by reading the address space.
|
|
CreateAuditEvent ( |
Creates an audit event for the cause.
|
|
EndTransition ( |
Ends a transition (reports events for all effects).
|
|
FindContainer ( |
Finds the parent that has the specified type.
|
|
GetCollapsedSubstate ( ) : LocalizedText |
Returns the collapses substate name for the state machine.
|
|
OnAfterCreate ( object configuration ) : void |
Creates the members uses to store the state machine structure.
|
|
OnAfterTransition ( |
Does any processing after a transition occurs.
|
|
OnBeforeTransition ( |
Does any processing before a transition occurs.
|
|
ReportAuditEvent ( |
Reports an audit event for the cause.
|
|
ReportEffect ( |
Reports an effect which is an effect of a transition.
|
|
UpdateCollapsedSubstate ( ) : void |
Updates the collapses substate name for the state machine.
|
Method | Description | |
---|---|---|
UpdateState ( State state, Transition transition ) : void |
Updates the state of the machine.
|
protected AddTransition ( ILocalNode source ) : void | ||
source | ILocalNode | |
return | void |
protected BeginTransitionForCause ( |
||
context | ||
causeName | QualifiedName | |
return | Transition |
protected BeginTransitionToState ( |
||
context | ||
toState | QualifiedName | |
return | Transition |
protected ConstructMachine ( object configuration ) : void | ||
configuration | object | |
return | void |
protected ConstructMachineFromType ( NodeId typeDefinitionId ) : void | ||
typeDefinitionId | NodeId | |
return | void |
protected CreateAuditEvent ( |
||
context | ||
transition | Transition | |
cause | QualifiedName | |
exception | ||
return | AuditUpdateStateEvent |
protected EndTransition ( |
||
context | ||
transition | Transition | |
cause | QualifiedName | |
return | void |
protected FindContainer ( |
||
containerType | ||
return |
public ForceState ( QualifiedName stateName ) : void | ||
stateName | QualifiedName | |
return | void |
protected GetCollapsedSubstate ( ) : LocalizedText | ||
return | LocalizedText |
protected OnAfterCreate ( object configuration ) : void | ||
configuration | object | |
return | void |
protected OnAfterTransition ( |
||
context | ||
transition | Transition | |
cause | QualifiedName | |
return | void |
protected OnBeforeTransition ( |
||
context | ||
transition | Transition | |
cause | QualifiedName | |
return | void |
public OnCauseInvoked ( |
||
context | ||
causeName | QualifiedName | |
return | void |
public ParentMachineStateChanged ( QualifiedName state, QualifiedName transition ) : void | ||
state | QualifiedName | |
transition | QualifiedName | |
return | void |
protected ReportAuditEvent ( |
||
context | ||
transition | Transition | |
cause | QualifiedName | |
exception | ||
return | void |
protected ReportEffect ( |
||
context | ||
transition | Transition | |
cause | QualifiedName | |
effectId | NodeId | |
return | void |
public SetState ( |
||
context | ||
stateName | QualifiedName | |
return | void |
public SetSubState ( |
||
context | ||
stateName | QualifiedName | |
substateMachine | QualifiedName | |
substateName | QualifiedName | |
return | void |