A singleton with the central registry for CSerializable run-time classes: users do not use this class in any direct way.
Definition at line 70 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 128 of file internal_class_registry.cpp.
|
inlineprivate |
Definition at line 132 of file internal_class_registry.cpp.
|
inline |
Definition at line 81 of file internal_class_registry.cpp.
References mrpt::mrpt::format().
Referenced by mrpt::utils::registerClass(), and mrpt::utils::registerClassCustomName().
|
inline |
Definition at line 99 of file internal_class_registry.cpp.
References stripNamespace().
Referenced by mrpt::utils::findRegisteredClass().
|
inline |
Definition at line 116 of file internal_class_registry.cpp.
Referenced by mrpt::utils::getAllRegisteredClasses().
|
inlinestatic |
The unique access point point to the singleton instance.
Definition at line 75 of file internal_class_registry.cpp.
Referenced by mrpt::utils::findRegisteredClass(), mrpt::utils::getAllRegisteredClasses(), mrpt::utils::registerClass(), and mrpt::utils::registerClassCustomName().
|
private |
Definition at line 139 of file internal_class_registry.cpp.
|
private |
Definition at line 138 of file internal_class_registry.cpp.
|
private |
Definition at line 137 of file internal_class_registry.cpp.
Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020 |