The virtual base class of all MRPT classes with a unified RTTI system. More...
#include <mrpt/utils/CObject.h>


Public Member Functions | |
| virtual const mrpt::utils::TRuntimeClassId * | GetRuntimeClass () const |
| Returns information about the class of an object in runtime. | |
| virtual CObject * | duplicate () const =0 |
| Returns a copy of the object, indepently of its class. | |
| mrpt::utils::CObjectPtr | duplicateGetSmartPtr () const |
| Returns a copy of the object, indepently of its class, as a smart pointer (the newly created object will exist as long as any copy of this smart pointer). | |
| CObject * | clone () const |
| Cloning interface for smart pointers. | |
| virtual | ~CObject () |
Static Public Attributes | |
| static const mrpt::utils::TRuntimeClassId | classCObject |
Static Protected Member Functions | |
| static mrpt::utils::TRuntimeClassId * | _GetBaseClass () |
The virtual base class of all MRPT classes with a unified RTTI system.
For each class named CMyClass, a new type named CMyClassPtr will be created as a smart pointer suitable for keeping referencing count smart pointers to objects of that class. By default the base class of all these smart pointers is CObjectPtr.
Definition at line 129 of file CObject.h.
| virtual mrpt::utils::CObject::~CObject | ( | ) | [inline, virtual] |
| static mrpt::utils::TRuntimeClassId* mrpt::utils::CObject::_GetBaseClass | ( | ) | [static, protected] |
| CObject* mrpt::utils::CObject::clone | ( | ) | const [inline] |
Cloning interface for smart pointers.
Reimplemented in mrpt::opengl::CRenderizable.
| virtual CObject* mrpt::utils::CObject::duplicate | ( | ) | const [pure virtual] |
Returns a copy of the object, indepently of its class.
| mrpt::utils::CObjectPtr mrpt::utils::CObject::duplicateGetSmartPtr | ( | ) | const [inline] |
| virtual const mrpt::utils::TRuntimeClassId* mrpt::utils::CObject::GetRuntimeClass | ( | ) | const [inline, virtual] |
const mrpt::utils::TRuntimeClassId mrpt::utils::CObject::classCObject [static] |
| Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010 |