What can I help you with?
NVIDIA Morpheus (25.02.01)

Template Class FactoryRegistry

template<typename ObjectReturnTypeT>
class FactoryRegistry

Public Static Functions

static inline bool contains(const std::string &name)
static inline std::vector<std::string> list()
static inline std::shared_ptr<ObjectReturnTypeT> create_object_from_factory(const std::string &name, nlohmann::json config = {})
static inline void register_factory_fn(const std::string &name, const std::function<std::shared_ptr<ObjectReturnTypeT>(nlohmann::json)> &loader_fn, bool throw_if_exists = true)
static inline void unregister_factory_fn(const std::string &name, bool throw_if_missing = true)

Previous Class DType
Next Class FiberQueue
© Copyright 2024, NVIDIA. Last updated on Mar 3, 2025.