ObjectFactory class final

Public static functions

static auto Instance() -> ObjectFactory&

Constructors, destructors, conversion operators

ObjectFactory(ObjectFactory const&) deleted

Public functions

auto operator=(ObjectFactory const&) -> ObjectFactory& deleted
void registerType(const std::string& id, std::unique_ptr<BaseCreator> creator)
auto create(const std::string& id) const -> std::unique_ptr<Object>
void clean()