13#ifndef RTCTK_COMPONENTFRAMEWORK_REPOSITORYFACTORY_HPP
14#define RTCTK_COMPONENTFRAMEWORK_REPOSITORYFACTORY_HPP
18#include <mal/utility/Uri.hpp>
50template <
class BaseIf,
class Adapter>
A simple registry of various factory objects.
Definition factoryRegistry.hpp:47
A base class for factories that create instances of repository adapters from URIs.
Definition repositoryFactory.hpp:51
RepositoryFactory()=default
bool CanHandle(const elt::mal::Uri &uri) const override
Check if this repository factory is compatible with the given URI.
Definition repositoryFactory.ipp:23
~RepositoryFactory() override=default
std::unique_ptr< BaseIf > CreateInstance(const elt::mal::Uri &uri) const override
Create a new adapter instance to access the repository specified by the given URI.
Definition repositoryFactory.ipp:37
Header file for FactoryRegistry and related helper classes.
Definition commandReplier.cpp:22
elt::mal::future< std::string > InjectReqRepEvent(StateMachineEngine &engine)
Definition malEventInjector.hpp:23
Implementation file for RepositoryFactory.