| Class TStateChannel (unit StateCh) |
Class definition for a state channel of a multi-channel state object.
| Constructors |
| Functions |
function iGetLastAction: Integer;
procedure Move;
function pstGetLastSubject: PState;
procedure EnterState(pstCurrent: PState);
procedure ExitState(pstCurrent: PState);
procedure ProcessState(pstCurrent: PState);| Properties |
| Events |
| Variables |
m_iStateAction : Integer;
m_stSubject : TState;| Constructors |
| Functions |
function iGetLastAction: Integer;Methods to get the last state change performed.
Record the state that was processed.
procedure Move;Virtual method called to process object movements.
function pstGetLastSubject: PState;
procedure EnterState(pstCurrent: PState);Virtual methods for customizing state behavior.
Do the default movement activity.
procedure ExitState(pstCurrent: PState);Record the state that was entered.
procedure ProcessState(pstCurrent: PState);Record the state that was exited.
| Properties |
| Events |
| Variables |
m_iStateAction : Integer;Values to record what happened during the last state movement.
m_stSubject : TState;