Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

TNL::RefObjectRef Class Reference

Base class for Object reference counting. More...

#include <tnlNetBase.h>

Inheritance diagram for TNL::RefObjectRef:

TNL::RefPtr< T > List of all members.

Public Methods

 RefObjectRef (Object *object=NULL)
 Constructor, assigns from the object and increments its reference count if it's not NULL.

 ~RefObjectRef ()
 Destructor, dereferences the object, if there is one.

void set (Object *object)
 Assigns this reference object from an existing Object instance.


Protected Methods

void incRef ()
 Increments the reference count on the referenced object.

void decRef ()
 Decrements the reference count on the referenced object.


Protected Attributes

ObjectmObject
 The object this RefObjectRef references.


Detailed Description

Base class for Object reference counting.

Definition at line 459 of file tnlNetBase.h.


The documentation for this class was generated from the following file:
Generated on Thu Aug 18 16:03:39 2005 for Robin Hood: Thieves & Knights by doxygen1.2.18