MRPT
1.9.9
|
Definition at line 15 of file rtti_unittest.cpp.
Public Member Functions | |
MyDerived1 () | |
void * | operator new (size_t size) |
void * | operator new[] (size_t size) |
void | operator delete (void *ptr) noexcept |
void | operator delete[] (void *ptr) noexcept |
void | operator delete (void *memory, void *ptr) noexcept |
void * | operator new (size_t size, const std::nothrow_t &) noexcept |
void | operator delete (void *ptr, const std::nothrow_t &) noexcept |
RTTI classes and functions for polymorphic hierarchies | |
mrpt::rtti::CObject::Ptr | 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). More... | |
Static Public Member Functions | |
static void * | operator new (size_t size, void *ptr) |
RTTI stuff | |
using | Ptr = std::shared_ptr< MyDerived1 > |
using | ConstPtr = std::shared_ptr< const MyDerived1 > |
using | UniquePtr = std::unique_ptr< MyDerived1 > |
using | ConstUniquePtr = std::unique_ptr< const MyDerived1 > |
static mrpt::rtti::CLASSINIT | _init_MyDerived1 |
static const mrpt::rtti::TRuntimeClassId | runtimeClassId |
static constexpr const char * | className = "MyDerived1" |
virtual const mrpt::rtti::TRuntimeClassId * | GetRuntimeClass () const override |
Returns information about the class of an object in runtime. More... | |
virtual mrpt::rtti::CObject * | clone () const override |
Returns a deep copy (clone) of the object, indepently of its class. More... | |
static const mrpt::rtti::TRuntimeClassId * | _GetBaseClass () |
static constexpr auto | getClassName () |
static const mrpt::rtti::TRuntimeClassId & | GetRuntimeClassIdStatic () |
static mrpt::rtti::CObject * | CreateObject () |
template<typename... Args> | |
static Ptr | Create (Args &&... args) |
template<typename... Args> | |
static UniquePtr | CreateUnique (Args &&... args) |
using MyNS::MyDerived1::ConstPtr = std::shared_ptr<const MyDerived1 > |
Definition at line 19 of file rtti_unittest.cpp.
using MyNS::MyDerived1::ConstUniquePtr = std::unique_ptr<const MyDerived1 > |
Definition at line 19 of file rtti_unittest.cpp.
using MyNS::MyDerived1::Ptr = std::shared_ptr< MyDerived1 > |
A type for the associated smart pointer
Definition at line 19 of file rtti_unittest.cpp.
using MyNS::MyDerived1::UniquePtr = std::unique_ptr< MyDerived1 > |
Definition at line 19 of file rtti_unittest.cpp.
|
inline |
Definition at line 18 of file rtti_unittest.cpp.
|
staticprotected |
|
overridevirtual |
Returns a deep copy (clone) of the object, indepently of its class.
Implements mrpt::rtti::CObject.
|
inlinestatic |
Definition at line 19 of file rtti_unittest.cpp.
|
static |
|
inlinestatic |
Definition at line 19 of file rtti_unittest.cpp.
|
inlineinherited |
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).
Definition at line 168 of file CObject.h.
References mrpt::rtti::CObject::clone().
Referenced by mrpt::obs::CRawlog::addActions(), and mrpt::obs::CRawlog::addObservations().
|
inlinestatic |
Definition at line 19 of file rtti_unittest.cpp.
|
overridevirtual |
Returns information about the class of an object in runtime.
Reimplemented from mrpt::rtti::CObject.
|
static |
Definition at line 19 of file rtti_unittest.cpp.
Definition at line 19 of file rtti_unittest.cpp.
Definition at line 19 of file rtti_unittest.cpp.
Definition at line 19 of file rtti_unittest.cpp.
|
inline |
Definition at line 19 of file rtti_unittest.cpp.
|
inlinenoexcept |
Definition at line 19 of file rtti_unittest.cpp.
Definition at line 19 of file rtti_unittest.cpp.
|
inline |
Definition at line 19 of file rtti_unittest.cpp.
|
staticprotected |
Definition at line 19 of file rtti_unittest.cpp.
|
static |
Definition at line 19 of file rtti_unittest.cpp.
|
staticprotected |
Definition at line 19 of file rtti_unittest.cpp.
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020 |