A singleton with the central registry for CSerializable run-time classes: users do not use this class in any direct way.
Definition at line 54 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 Member Functions | |
CClassRegistry () | |
~CClassRegistry () | |
Private Attributes | |
TClassnameToRuntimeId | registeredClasses |
std::mutex | m_cs |
std::atomic< bool > | m_being_modified |
|
inlineprivate |
Definition at line 116 of file internal_class_registry.cpp.
|
inlineprivate |
Definition at line 118 of file internal_class_registry.cpp.
|
inline |
Definition at line 65 of file internal_class_registry.cpp.
References mrpt::format().
Referenced by mrpt::rtti::registerClass(), and mrpt::rtti::registerClassCustomName().
|
inline |
Definition at line 89 of file internal_class_registry.cpp.
Referenced by mrpt::rtti::findRegisteredClass().
|
inline |
Definition at line 103 of file internal_class_registry.cpp.
Referenced by mrpt::rtti::getAllRegisteredClasses().
|
inlinestatic |
The unique access point point to the singleton instance.
Definition at line 59 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 124 of file internal_class_registry.cpp.
|
private |
Definition at line 123 of file internal_class_registry.cpp.
|
private |
Definition at line 122 of file internal_class_registry.cpp.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |