#include <tnlNetBase.h>
Inheritance diagram for TNL::RefObjectRef:

Public Member Functions | |
| 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 Member Functions | |
| void | incRef () |
| Increments the reference count on the referenced object. | |
| void | decRef () |
| Decrements the reference count on the referenced object. | |
Protected Attributes | |
| Object * | mObject |
| The object this RefObjectRef references. | |
|
|
Constructor, assigns from the object and increments its reference count if it's not NULL.
|
|
|
Destructor, dereferences the object, if there is one.
|
|
|
Increments the reference count on the referenced object.
|
|
|
Decrements the reference count on the referenced object.
|
|
|
Assigns this reference object from an existing Object instance.
|
|
|
The object this RefObjectRef references.
|