MRPT  2.0.4
List of all members | Public Member Functions
MyNS::Bar Class Reference

Detailed Description

Examples:
rtti_example1/test.cpp.

Definition at line 36 of file vision_stereo_rectify/test.cpp.

Inheritance diagram for MyNS::Bar:

Public Member Functions

 Bar ()
 
void printName () override
 
void specificBarMethod ()
 
RTTI classes and functions for polymorphic hierarchies
mrpt::rtti::CObject::Ptr duplicateGetSmartPtr () const
 Makes a deep copy of the object and returns a smart pointer to it. More...
 

RTTI stuff

using Ptr = std::shared_ptr< MyNS ::Bar >
 
using ConstPtr = std::shared_ptr< const MyNS ::Bar >
 
using UniquePtr = std::unique_ptr< MyNS ::Bar >
 
using ConstUniquePtr = std::unique_ptr< const MyNS ::Bar >
 
static const mrpt::rtti::TRuntimeClassId runtimeClassId
 
static constexpr const char * className = "MyNS" "::" "Bar"
 
virtual const mrpt::rtti::TRuntimeClassIdGetRuntimeClass () const override
 Returns information about the class of an object in runtime. More...
 
virtual mrpt::rtti::CObjectclone () 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::TRuntimeClassIdGetRuntimeClassIdStatic ()
 
static std::shared_ptr< CObjectCreateObject ()
 
template<typename... Args>
static Ptr Create (Args &&... args)
 
template<typename Alloc , typename... Args>
static Ptr CreateAlloc (const Alloc &alloc, Args &&... args)
 
template<typename... Args>
static UniquePtr CreateUnique (Args &&... args)
 

Member Typedef Documentation

◆ ConstPtr

using MyNS::Bar::ConstPtr = std::shared_ptr<const MyNS :: Bar >

Definition at line 40 of file vision_stereo_rectify/test.cpp.

◆ ConstUniquePtr

using MyNS::Bar::ConstUniquePtr = std::unique_ptr<const MyNS :: Bar >

Definition at line 40 of file vision_stereo_rectify/test.cpp.

◆ Ptr

using MyNS::Bar::Ptr = std::shared_ptr< MyNS :: Bar >

A type for the associated smart pointer

Definition at line 40 of file vision_stereo_rectify/test.cpp.

◆ UniquePtr

using MyNS::Bar::UniquePtr = std::unique_ptr< MyNS :: Bar >

Definition at line 40 of file vision_stereo_rectify/test.cpp.

Constructor & Destructor Documentation

◆ Bar()

MyNS::Bar::Bar ( )
inline
Examples:
rtti_example1/test.cpp.

Definition at line 39 of file vision_stereo_rectify/test.cpp.

Member Function Documentation

◆ _GetBaseClass()

static const mrpt::rtti::TRuntimeClassId* MyNS::Bar::_GetBaseClass ( )
staticprotected

◆ clone()

virtual mrpt::rtti::CObject* MyNS::Bar::clone ( ) const
overridevirtual

Returns a deep copy (clone) of the object, indepently of its class.

Implements mrpt::rtti::CObject.

◆ Create()

template<typename... Args>
static Ptr MyNS::Bar::Create ( Args &&...  args)
inlinestatic

Definition at line 40 of file vision_stereo_rectify/test.cpp.

◆ CreateAlloc()

template<typename Alloc , typename... Args>
static Ptr MyNS::Bar::CreateAlloc ( const Alloc &  alloc,
Args &&...  args 
)
inlinestatic

Definition at line 40 of file vision_stereo_rectify/test.cpp.

◆ CreateObject()

static std::shared_ptr<CObject> MyNS::Bar::CreateObject ( )
static

◆ CreateUnique()

template<typename... Args>
static UniquePtr MyNS::Bar::CreateUnique ( Args &&...  args)
inlinestatic

Definition at line 40 of file vision_stereo_rectify/test.cpp.

◆ duplicateGetSmartPtr()

mrpt::rtti::CObject::Ptr CObject::duplicateGetSmartPtr ( ) const
inlineinherited

Makes a deep copy of the object and returns a smart pointer to it.

Definition at line 204 of file CObject.h.

References mrpt::rtti::CObject::clone().

Referenced by mrpt::obs::CRawlog::insert().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getClassName()

static constexpr auto MyNS::Bar::getClassName ( )
inlinestatic

Definition at line 40 of file vision_stereo_rectify/test.cpp.

◆ GetRuntimeClass()

virtual const mrpt::rtti::TRuntimeClassId* MyNS::Bar::GetRuntimeClass ( ) const
overridevirtual

Returns information about the class of an object in runtime.

Reimplemented from MyNS::BarBase.

◆ GetRuntimeClassIdStatic()

static const mrpt::rtti::TRuntimeClassId& MyNS::Bar::GetRuntimeClassIdStatic ( )
static

◆ printName()

void MyNS::Bar::printName ( )
inlineoverridevirtual

Reimplemented from MyNS::BarBase.

Examples:
rtti_example1/test.cpp.

Definition at line 42 of file vision_stereo_rectify/test.cpp.

◆ specificBarMethod()

void MyNS::Bar::specificBarMethod ( )
inline
Examples:
rtti_example1/test.cpp.

Definition at line 43 of file vision_stereo_rectify/test.cpp.

Member Data Documentation

◆ className

constexpr const char* MyNS::Bar::className = "MyNS" "::" "Bar"
static

Definition at line 40 of file vision_stereo_rectify/test.cpp.

◆ runtimeClassId

const mrpt::rtti::TRuntimeClassId MyNS::Bar::runtimeClassId
staticprotected

Definition at line 40 of file vision_stereo_rectify/test.cpp.




Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020