#include <FsfHandle.h>
Public Member Functions | |
Creators | |
CActiveHandle () | |
0-parameter constructor | |
CActiveHandle (CNode *pNode, long nHandleID) | |
2-parameter constructor: pointer to node and handle ID | |
CActiveHandle (const CActiveHandle &h) | |
Copy constructor. | |
~CActiveHandle () | |
Destructor. Recursively destroys subhandles. | |
Accessors | |
CNode * | getNode () const |
Gets a pointer to this handle's target node. | |
long | getHandleID () const |
Gets this handle's ID. | |
void | getChildren (std::list< CActiveHandle * > &listHandles) |
Gets a list of pointer to this handle's subhendles. | |
Manipulators | |
void | addChild (CActiveHandle *pHandle) |
Adds the argument handle to the list of this handle's subhandles. | |
void | addChildren (std::list< CActiveHandle * > &listHandles) |
Copies the handle pointers in the argument list to this handle's list of subhandles. | |
void | deleteChildren () |
Deletes this handle's subhandles. |
fsf::CActiveHandle::CActiveHandle | ( | ) | [inline] |
0-parameter constructor
fsf::CActiveHandle::CActiveHandle | ( | CNode * | pNode, | |
long | nHandleID | |||
) | [inline] |
2-parameter constructor: pointer to node and handle ID
CActiveHandle::CActiveHandle | ( | const CActiveHandle & | h | ) |
Copy constructor.
fsf::CActiveHandle::~CActiveHandle | ( | ) | [inline] |
Destructor. Recursively destroys subhandles.
void fsf::CActiveHandle::addChild | ( | CActiveHandle * | pHandle | ) | [inline] |
Adds the argument handle to the list of this handle's subhandles.
void fsf::CActiveHandle::addChildren | ( | std::list< CActiveHandle * > & | listHandles | ) | [inline] |
Copies the handle pointers in the argument list to this handle's list of subhandles.
Argument listHandles
is not empty after execution, its elements (pointers) have the same values as those created and added to m_listChildren.
void fsf::CActiveHandle::deleteChildren | ( | ) |
Deletes this handle's subhandles.
void fsf::CActiveHandle::getChildren | ( | std::list< CActiveHandle * > & | listHandles | ) | [inline] |
Gets a list of pointer to this handle's subhendles.
long fsf::CActiveHandle::getHandleID | ( | ) | const [inline] |
Gets this handle's ID.
CNode* fsf::CActiveHandle::getNode | ( | ) | const [inline] |
Gets a pointer to this handle's target node.