fsf::CActiveHandle Class Reference
[Handles]

The active handle class. More...

#include <FsfHandle.h>

Collaboration diagram for fsf::CActiveHandle:

Collaboration graph
[legend]

List of all members.

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
CNodegetNode () 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.


Detailed Description

The active handle class.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files:

Generated on Thu Oct 21 11:47:37 2010 for MFSM by  doxygen 1.5.9