Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

InternalRefNodeBase Class Reference

FIXME This is the base class for the internally used (unique resource) class. This version is not thread-safe at all. More...

#include <refnode.h>

Collaboration diagram for InternalRefNodeBase:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 InternalRefNodeBase ()
 Constructor sets reference counter to zero.

virtual ~InternalRefNodeBase ()

Protected Member Functions

void _InternalRefNodeBase_aqref ()
void _InternalRefNodeBase_deref ()

Private Member Functions

void _failCritAssert ()
 InternalRefNodeBase (const InternalRefNodeBase &)
 
Attention:
Do not use (hence private):


InternalRefNodeBaseoperator= (const InternalRefNodeBase &)

Private Attributes

int refcnt

Friends

class RefNode

Detailed Description

FIXME This is the base class for the internally used (unique resource) class. This version is not thread-safe at all.

Author:
Wolfgang Wieser ] wwieser (a) gmx <*> de [

Definition at line 186 of file refnode.h.


Constructor & Destructor Documentation

InternalRefNodeBase::InternalRefNodeBase const InternalRefNodeBase  )  [private]
 

Attention:
Do not use (hence private):

InternalRefNodeBase::InternalRefNodeBase  )  [inline]
 

Constructor sets reference counter to zero.

Definition at line 212 of file refnode.h.

virtual InternalRefNodeBase::~InternalRefNodeBase  )  [inline, virtual]
 

Destructor will fail with an assertion if the reference count is not zero.

Definition at line 215 of file refnode.h.


Member Function Documentation

void InternalRefNodeBase::_failCritAssert  )  [private]
 

For internal use only.

Failed assertion. Internal bug. Terminate.

Definition at line 21 of file refnode.cc.

void InternalRefNodeBase::_InternalRefNodeBase_aqref  )  [inline, protected]
 

For internal use only.

Aquire reference / dereference:
Used internally by RefNode<>.
May be used by derived classes if you know what you are doing!

Definition at line 198 of file refnode.h.

void InternalRefNodeBase::_InternalRefNodeBase_deref  )  [inline, protected]
 

Definition at line 200 of file refnode.h.

InternalRefNodeBase& InternalRefNodeBase::operator= const InternalRefNodeBase  )  [private]
 


Friends And Related Function Documentation

friend class RefNode [friend]
 

Definition at line 188 of file refnode.h.


Member Data Documentation

int InternalRefNodeBase::refcnt [private]
 

Definition at line 190 of file refnode.h.


The documentation for this class was generated from the following files:
Generated on Sat Feb 19 22:35:27 2005 for Ray by doxygen 1.3.5