A smart pointer to a CObject object.
#include <mrpt/utils/CObject.h>
Public Types | |
typedef CObject | value_type |
typedef CObject & | reference |
typedef clone_copy< CObject > | value_copy |
Public Member Functions | |
CObjectPtr () | |
CObjectPtr (const CObject &data) | |
CObjectPtr (CObject *data) | |
CObjectPtr & | operator= (const CObject &data) |
CObjectPtr & | operator= (const CObjectPtr &r) |
operator bool (void) const | |
bool | operator! (void) const |
bool | present (void) const |
bool | null (void) const |
CObject & | operator* (void) throw (null_dereference) |
const CObject & | operator* (void) const throw (null_dereference) |
CObject * | operator-> (void) throw (null_dereference) |
const CObject * | operator-> (void) const throw (null_dereference) |
void | set_value (const CObject &data) throw (illegal_copy) |
CObject & | value (void) throw (null_dereference) |
const CObject & | value (void) const throw (null_dereference) |
void | set (CObject *data=0) |
CObject * | pointer (void) |
const CObject * | pointer (void) const |
void | alias (const smart_ptr_base< CObject, clone_copy< CObject >, mrpt::synch::CAtomicCounter > &) |
bool | aliases (const smart_ptr_base< CObject, clone_copy< CObject >, mrpt::synch::CAtomicCounter > &) const |
unsigned | alias_count (void) const |
void | clear (void) |
void | clear_unique (void) |
void | make_unique (void) throw (illegal_copy) |
void | copy (const smart_ptr_base< CObject, clone_copy< CObject >, mrpt::synch::CAtomicCounter > &) throw (illegal_copy) |
void * | handle (void) const |
void | make_alias (void *handle) |
Public Attributes | |
const typedef CObject & | const_reference |
Protected Attributes | |
smart_ptr_holder< CObject, mrpt::synch::CAtomicCounter > * | m_holder |
Private Types | |
typedef stlplus::smart_ptr_clone< CObject > | BASE |
|
private |
|
inherited |
Definition at line 71 of file smart_ptr.hpp.
|
inherited |
Definition at line 73 of file smart_ptr.hpp.
|
inherited |
Definition at line 70 of file smart_ptr.hpp.
|
inlineexplicit |
|
inlineexplicit |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
|
inline |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Definition at line 72 of file smart_ptr.hpp.
|
protectedinherited |
Definition at line 175 of file smart_ptr.hpp.
Page generated by Doxygen 1.8.16 for MRPT 1.4.0 SVN: at Mon Oct 14 23:08:25 UTC 2019 |