MRPT
1.9.9
|
Runtime Type Information (RTTI) library, providing compiler-independent class registry, class factory, and inheritance information.
[New in MRPT 2.0.0]
This library is part of MRPT and can be installed in Debian-based systems with:
sudo apt install libmrpt-rtti-dev
See: Using MRPT from your CMake project
Any class with RTTI support has to be derived from mrpt::rtti::CObject, either directly or via a hierarchy of inheriting classes. Class factory by name enables deserialization of polymorphic classes in the library [mrpt-serialization].
All classes defined in each MRPT module are automatically registered when loading the module (if dynamically linked).
Output:
Output:
Classes | |
class | mrpt::rtti::CListOfClasses |
A list (actually based on a std::set) of MRPT classes, capable of keeping any class registered by the mechanism of CObject classes. More... | |
struct | mrpt::rtti::TRuntimeClassId |
A structure that holds runtime class type information. More... | |
struct | mrpt::rtti::CLASSINIT |
Auxiliary structure used for CObject-based RTTI. More... | |
class | mrpt::rtti::CObject |
Virtual base to provide a compiler-independent RTTI system. More... | |
struct | mrpt::ptr_cast< CAST_TO > |
Converts a polymorphic smart pointer Base::Ptr to Derived::Ptr, in a way compatible with MRPT >=1.5.4 and MRPT 2.x series. More... | |
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019 |