MRPT
1.9.9
|
A singleton with the central registry for CSerializable run-time classes: users do not use this class in any direct way.
Definition at line 52 of file internal_class_registry.cpp.
Public Member Functions | |
void | Add (const std::string &className, const TRuntimeClassId &id) |
const TRuntimeClassId * | Get (const std::string &className) |
std::vector< const TRuntimeClassId * > | getListOfAllRegisteredClasses () |
Static Public Member Functions | |
static CClassRegistry & | Instance () |
The unique access point point to the singleton instance. More... | |
Private Attributes | |
TClassnameToRuntimeId | registeredClasses |
std::mutex | m_cs |
std::atomic< bool > | m_being_modified {false} |
|
inline |
Definition at line 63 of file internal_class_registry.cpp.
References mrpt::format(), m_being_modified, m_cs, and registeredClasses.
Referenced by mrpt::rtti::registerClass(), and mrpt::rtti::registerClassCustomName().
|
inline |
Definition at line 87 of file internal_class_registry.cpp.
References m_being_modified, m_cs, and registeredClasses.
Referenced by mrpt::rtti::findRegisteredClass().
|
inline |
Definition at line 101 of file internal_class_registry.cpp.
References m_cs, and registeredClasses.
Referenced by mrpt::rtti::getAllRegisteredClasses().
|
inlinestatic |
The unique access point point to the singleton instance.
Definition at line 57 of file internal_class_registry.cpp.
Referenced by mrpt::rtti::findRegisteredClass(), mrpt::rtti::getAllRegisteredClasses(), mrpt::rtti::registerClass(), and mrpt::rtti::registerClassCustomName().
|
private |
Definition at line 117 of file internal_class_registry.cpp.
|
private |
Definition at line 116 of file internal_class_registry.cpp.
Referenced by Add(), Get(), and getListOfAllRegisteredClasses().
|
private |
Definition at line 115 of file internal_class_registry.cpp.
Referenced by Add(), Get(), and getListOfAllRegisteredClasses().
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 |