Main MRPT website > C++ reference for MRPT 1.5.5
List of all members | Public Member Functions | Private Types
mrpt::utils::CObjectPtr Class Reference

Detailed Description

A smart pointer to a CObject object.

Note
Declared as a class instead of a typedef to avoid multiple defined symbols when linking dynamic libs.

Definition at line 32 of file CObject.h.

#include <mrpt/utils/CObject.h>

Inheritance diagram for mrpt::utils::CObjectPtr:
Inheritance graph

Public Member Functions

 CObjectPtr ()
 
 CObjectPtr (const CObject &data)
 
 CObjectPtr (CObject *data)
 
CObjectPtroperator= (const CObject &data)
 
CObjectPtroperator= (const CObjectPtr &r)
 

Private Types

typedef stlplus::smart_ptr_clone< CObjectBASE
 

Member Typedef Documentation

◆ BASE

typedef stlplus::smart_ptr_clone<CObject> mrpt::utils::CObjectPtr::BASE
private

Definition at line 34 of file CObject.h.

Constructor & Destructor Documentation

◆ CObjectPtr() [1/3]

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

Definition at line 36 of file CObject.h.

◆ CObjectPtr() [2/3]

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

Definition at line 37 of file CObject.h.

◆ CObjectPtr() [3/3]

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

Definition at line 38 of file CObject.h.

Member Function Documentation

◆ operator=() [1/2]

CObjectPtr& mrpt::utils::CObjectPtr::operator= ( const CObject data)
inline

Definition at line 39 of file CObject.h.

◆ operator=() [2/2]

CObjectPtr& mrpt::utils::CObjectPtr::operator= ( const CObjectPtr r)
inline

Definition at line 40 of file CObject.h.




Page generated by Doxygen 1.8.14 for MRPT 1.5.5 Git: e06b63dbf Fri Dec 1 14:41:11 2017 +0100 at lun oct 28 01:31:35 CET 2019