Main MRPT website > C++ reference for MRPT 1.5.7
List of all members | Public Member Functions | Public Attributes
mrpt::utils::CObjectPtr Struct Reference

Detailed Description

Definition at line 139 of file CObject.h.

#include <mrpt/utils/CObject.h>

Public Member Functions

 CObjectPtr ()
 
 CObjectPtr (CObject *data)
 
virtual CObjectpointer ()
 
virtual CObjectget ()
 
virtual const CObjectpointer () const
 
virtual const CObjectget () const
 
virtual CObjectoperator-> (void)
 
virtual const CObjectoperator-> (void) const
 
virtual CObjectoperator* (void)
 
virtual const CObjectoperator* (void) const
 
void clear ()
 
bool operator! () const
 
 operator bool () const
 
void make_unique ()
 
bool present () const
 
void set (CObject *p)
 
void reset (CObject *p=NULL)
 
void clear_unique ()
 

Public Attributes

std::shared_ptr< CObjectm_ptr
 

Constructor & Destructor Documentation

◆ CObjectPtr() [1/2]

mrpt::utils::CObjectPtr::CObjectPtr ( )
inline

Definition at line 142 of file CObject.h.

◆ CObjectPtr() [2/2]

mrpt::utils::CObjectPtr::CObjectPtr ( CObject data)
inlineexplicit

Definition at line 143 of file CObject.h.

Member Function Documentation

◆ clear()

void mrpt::utils::CObjectPtr::clear ( )
inline

Definition at line 152 of file CObject.h.

◆ clear_unique()

void mrpt::utils::CObjectPtr::clear_unique ( )
inline

Definition at line 159 of file CObject.h.

◆ get() [1/2]

virtual CObject* mrpt::utils::CObjectPtr::get ( )
inlinevirtual

Definition at line 145 of file CObject.h.

◆ get() [2/2]

virtual const CObject* mrpt::utils::CObjectPtr::get ( ) const
inlinevirtual

Definition at line 147 of file CObject.h.

◆ make_unique()

void mrpt::utils::CObjectPtr::make_unique ( )
inline

◆ operator bool()

mrpt::utils::CObjectPtr::operator bool ( ) const
inline

Definition at line 154 of file CObject.h.

◆ operator!()

bool mrpt::utils::CObjectPtr::operator! ( ) const
inline

Definition at line 153 of file CObject.h.

◆ operator*() [1/2]

virtual CObject& mrpt::utils::CObjectPtr::operator* ( void  )
inlinevirtual

Definition at line 150 of file CObject.h.

References ASSERT_.

◆ operator*() [2/2]

virtual const CObject& mrpt::utils::CObjectPtr::operator* ( void  ) const
inlinevirtual

Definition at line 151 of file CObject.h.

References ASSERT_.

◆ operator->() [1/2]

virtual CObject* mrpt::utils::CObjectPtr::operator-> ( void  )
inlinevirtual

Definition at line 148 of file CObject.h.

◆ operator->() [2/2]

virtual const CObject* mrpt::utils::CObjectPtr::operator-> ( void  ) const
inlinevirtual

Definition at line 149 of file CObject.h.

◆ pointer() [1/2]

virtual CObject* mrpt::utils::CObjectPtr::pointer ( )
inlinevirtual

Definition at line 144 of file CObject.h.

◆ pointer() [2/2]

virtual const CObject* mrpt::utils::CObjectPtr::pointer ( ) const
inlinevirtual

Definition at line 146 of file CObject.h.

◆ present()

bool mrpt::utils::CObjectPtr::present ( ) const
inline

Definition at line 156 of file CObject.h.

◆ reset()

void mrpt::utils::CObjectPtr::reset ( CObject p = NULL)
inline

Definition at line 158 of file CObject.h.

◆ set()

void mrpt::utils::CObjectPtr::set ( CObject p)
inline

Definition at line 157 of file CObject.h.

Member Data Documentation

◆ m_ptr

std::shared_ptr<CObject> mrpt::utils::CObjectPtr::m_ptr

Definition at line 141 of file CObject.h.




Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019