|
Field3D
|
#include <RefCount.h>
Public Types | |
| typedef boost::intrusive_ptr < RefBase > | Ptr |
Public Member Functions | |
| void | ref () const |
| Used by boost::intrusive_pointer. More... | |
| size_t | refcnt () |
| Used by boost::intrusive_pointer. More... | |
| void | unref () const |
| Used by boost::intrusive_pointer. More... | |
Constructors, destructors, copying | |
| RefBase () | |
| RefBase (const RefBase &) | |
| Copy constructor. More... | |
| RefBase & | operator= (const RefBase &) |
| Assignment operator. More... | |
| virtual | ~RefBase () |
| Destructor. More... | |
Private Attributes | |
| boost::detail::atomic_count | m_counter |
| For boost intrusive pointer. More... | |
RTTI replacement | |
| |
| virtual bool | checkRTTI (const char *typenameStr)=0 |
| This function is only implemented by concrete classes and triggers the actual RTTI check through matchRTTI();. More... | |
| bool | matchRTTI (const char *typenameStr) |
| Performs a check to see if the given typename string matches this class' This needs to be implemented in -all- subclasses, even abstract ones. More... | |
| static const char * | classType () |
Definition at line 90 of file RefCount.h.
| typedef boost::intrusive_ptr<RefBase> RefBase::Ptr |
Definition at line 96 of file RefCount.h.
|
inline |
Definition at line 103 of file RefCount.h.
|
inline |
Copy constructor.
Definition at line 108 of file RefCount.h.
|
inlinevirtual |
|
inline |
Used by boost::intrusive_pointer.
Definition at line 125 of file RefCount.h.
References m_counter.
Referenced by intrusive_ptr_release().
|
inline |
Used by boost::intrusive_pointer.
Definition at line 129 of file RefCount.h.
References m_counter.
Referenced by intrusive_ptr_add_ref().
|
inline |
Used by boost::intrusive_pointer.
Definition at line 138 of file RefCount.h.
References m_counter.
Referenced by intrusive_ptr_release().
|
pure virtual |
This function is only implemented by concrete classes and triggers the actual RTTI check through matchRTTI();.
|
inline |
Performs a check to see if the given typename string matches this class' This needs to be implemented in -all- subclasses, even abstract ones.
Definition at line 167 of file RefCount.h.
References classType().
|
inlinestatic |
Definition at line 174 of file RefCount.h.
Referenced by matchRTTI().
|
mutableprivate |
For boost intrusive pointer.
Definition at line 185 of file RefCount.h.