15#include <unordered_map>
55 OTC_SDK_API std::shared_ptr<IRImager>
create(
const std::string& name)
noexcept(
false);
66 OTC_SDK_API
void registerCreator(
const std::string& name, std::shared_ptr<IRImagerCreator> creator);
75 std::unordered_map<std::
string, std::shared_ptr<
IRImagerCreator>> _creators;
Contains defines controlling the Windows DLL export and import of symbols.
Contains the exceptions raised by the SDK.
Contains the interface definition for classes instantiating IRImager implementations.
Defines the interface for classes that instantiate IRImager implementations.
Definition IRImagerCreator.h:23
Factory instantiating IRImager implementations.
Definition IRImagerFactory.h:32
static OTC_SDK_API IRImagerFactory & getInstance()
Returns an instance of the IRImagerFactory.
OTC_SDK_API void registerCreator(const std::string &name, std::shared_ptr< IRImagerCreator > creator)
Registers an creator for an IRImager implementation with the given name.
OTC_SDK_API std::shared_ptr< IRImager > create(const std::string &name) noexcept(false)
Creates an instance of an IRImager implementation.
Main SDK namespace.
Definition AlarmChannel.h:21