#include <PFSimpleActionState.h>
Public Member Functions |
|
int | NumInterfaces () const |
BaseInterface * | GetInterfaceAt (int index) const |
BaseInterface * | GetInterface (Interface_ID id) |
void | DeleteIObject () |
Class_ID | GetClassID () |
The method returns the unique ID for the
action state class. |
|
ULONG | GetActionHandle () const |
Returns node handle of the action with the
action state. |
|
void | SetActionHandle (ULONG handle) |
Defines node handle of the action with the
action state. |
|
IOResult | Save (ISave *isave) const |
Saving content of the action state to file.
|
|
IOResult | Load (ILoad *iload) |
Loading content of the action state from
file. |
|
const RandGenerator * | randGen () const |
RandGenerator * | _randGen () |
Protected Member Functions |
|
ULONG | actionHandle () const |
ULONG & | _actionHandle () |
int NumInterfaces | ( | ) | const [inline, virtual] |
Reimplemented from BaseInterfaceServer.
{ return 1; }
BaseInterface* GetInterfaceAt | ( | int | i | ) | const [inline, virtual] |
Reimplemented from BaseInterfaceServer.
{ return ((index == 0) ? (IPFActionState*)this : NULL); }
BaseInterface* GetInterface | ( | Interface_ID | id | ) | [virtual] |
Reimplemented from BaseInterfaceServer.
void DeleteIObject | ( | ) | [virtual] |
Class_ID GetClassID | ( | ) | [inline, virtual] |
The method returns the unique ID for the action state class.
The ID is used for constructing the action state when loading since the action state class is not inherited from class Animatable.
Implements IPFActionState.
{ return PFSimpleActionState_Class_ID; }
ULONG GetActionHandle | ( | ) | const [inline, virtual] |
Returns node handle of the action with the action state.
Implements IPFActionState.
{ return actionHandle(); }
void SetActionHandle | ( | ULONG | actionHandle | ) | [inline, virtual] |
Defines node handle of the action with the action state.
Implements IPFActionState.
{ _actionHandle() = handle; }
Loading content of the action state from file.
Implements IPFActionState.
const RandGenerator* randGen | ( | ) | const [inline] |
{ return &m_randGen; }
RandGenerator* _randGen | ( | ) | [inline] |
{ return &m_randGen; }
ULONG actionHandle | ( | ) | const [inline, protected] |
{ return m_actionHandle; }
ULONG& _actionHandle | ( | ) | [inline, protected] |
{ return m_actionHandle; }