StrongObjectRef Class Reference#include <refBase.h>
Inheritance diagram for StrongObjectRef:
[legend]List of all members.
Detailed Description
Base class for StrongRefBase strong reference pointers.
|
Public Member Functions |
| | StrongObjectRef (StrongRefBase *object=NULL) |
| | Constructor, assigns from the object and increments its reference count if it's not NULL.
|
| | ~StrongObjectRef () |
| | Destructor, dereferences the object, if there is one.
|
| void | set (StrongRefBase *object) |
| | Assigns this reference object from an existing StrongRefBase 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 |
| StrongRefBase * | mObject |
| | the object this RefObjectRef references
|
Constructor & Destructor Documentation
| StrongObjectRef::StrongObjectRef |
( |
StrongRefBase * |
object = NULL |
) |
[inline] |
Constructor, assigns from the object and increments its reference count if it's not NULL.
| StrongObjectRef::~StrongObjectRef |
( |
|
) |
[inline] |
Destructor, dereferences the object, if there is one.
Member Function Documentation
Assigns this reference object from an existing StrongRefBase instance.
| void StrongObjectRef::incRef |
( |
|
) |
[inline, protected] |
increments the reference count on the referenced object
| void StrongObjectRef::decRef |
( |
|
) |
[inline, protected] |
decrements the reference count on the referenced object
Member Data Documentation
the object this RefObjectRef references
|