Class TStateChannel (unit StateCh) |
Inherits from
TStateAware
Class definition for a state channel of a multi-channel state object.
function iGetLastAction: Integer;
Methods to get the last state change performed.
procedure Move;
Virtual method called to process object movements.
function pstGetLastSubject: PState;
procedure EnterState(pstCurrent: PState);
Virtual methods for customizing state behavior.
procedure ExitState(pstCurrent: PState);
Record the state that was entered.
procedure ProcessState(pstCurrent: PState);
Record the state that was exited.
m_iStateAction : Integer;
Values to record what happened during the last state movement.
m_stSubject : TState;
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.
m_iStateAction : Integer;
Values to record what happened during the last state movement.
m_stSubject : TState;