class mrpt::rtti::CClassRegistry


A singleton with the central registry for CSerializable run-time classes: users do not use this class in any direct way.

Class is thread-safe.

class CClassRegistry
    // methods

    static CClassRegistry& Instance();

    void Add(
        const std::string& className,
        const TRuntimeClassId& id

    const TRuntimeClassId* Get(
        const std::string& className,
        const bool allow_ignore_namespace

    std::vector<const TRuntimeClassId*> getListOfAllRegisteredClasses();


static CClassRegistry& Instance()

The unique access point point to the singleton instance.