Base class from providing referencing counted objects
Inheritance:
Public Methods
-
Referenced()
-
Referenced(const Referenced&)
-
inline Referenced& operator = (Referenced&)
-
inline void ref() const
- increment the reference count by one, indicating that this object has another pointer which is referencing it
-
inline void unref() const
- decrement the reference count by one, indicating that a pointer to this object is referencing it.
-
inline const int referenceCount() const
- return the number pointers currently referencing this object.
Protected Fields
-
mutable int _refCount
Protected Methods
-
virtual ~Referenced()
Documentation
Base class from providing referencing counted objects
Referenced()
Referenced(const Referenced&)
inline Referenced& operator = (Referenced&)
inline void ref() const
- increment the reference count by one, indicating that
this object has another pointer which is referencing it
inline void unref() const
- decrement the reference count by one, indicating that
a pointer to this object is referencing it. If the
reference count goes to zero, it is assumed that this object
is no longer referenced and is automatically deleted.
inline const int referenceCount() const
- return the number pointers currently referencing this object.
virtual ~Referenced()
mutable int _refCount
- Direct child classes:
- Statistics
State
Object
NodeVisitor
NodeCallback
MemoryAdapter
LineSegment
ImpostorSpriteManager
FrameStamp
DisplaySettings
Camera
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.