|
Field3D
|
#include <RefCount.h>
Public Types | |
| typedef boost::intrusive_ptr < RefBase > | Ptr |
Public Member Functions | |
| void | ref () const |
| Used by boost::intrusive_pointer. | |
| size_t | refcnt () |
| Used by boost::intrusive_pointer. | |
| void | unref () const |
| Used by boost::intrusive_pointer. | |
Constructors, destructors, copying | |
| RefBase () | |
| RefBase (const RefBase &) | |
| Copy constructor. | |
| RefBase & | operator= (const RefBase &) |
| Assignment operator. | |
| virtual | ~RefBase () |
| Destructor. | |
Private Attributes | |
| boost::detail::atomic_count | m_counter |
| For boost intrusive pointer. | |
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();. | |
| 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. | |
| 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 |
|
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 |
Reimplemented in ResizableField< Data_T >, WritableField< Data_T >, FrustumFieldMapping, ProceduralFieldLookup< Data_T >, CubicMACFieldInterp< Data_T >, Field< Data_T >, CubicGenericFieldInterp< Field_T >, LinearMACFieldInterp< Data_T >, MatrixFieldMapping, LinearGenericFieldInterp< Field_T >, FrustumFieldMappingIO, NullFieldMapping, FieldRes, CubicFieldInterp< Data_T >, MatrixFieldMappingIO, SparseField< Data_T >, File::Partition, LinearFieldInterp< Data_T >, NullFieldMappingIO, ProceduralField< Data_T >, DenseField< Data_T >, EmptyField< Data_T >, FieldBase, MACField< Data_T >, FieldMapping, FieldIO, DenseFieldIO, MACFieldIO, FieldInterp< Data_T >, and FieldMappingIO.
Definition at line 174 of file RefCount.h.
Referenced by matchRTTI().
|
mutableprivate |
For boost intrusive pointer.
Definition at line 185 of file RefCount.h.