8#ifndef FCF_DEVMGR_COMMON_DEVICEFACTORY_HPP
9#define FCF_DEVMGR_COMMON_DEVICEFACTORY_HPP
14#include <ifw/core/utils/bat/logger.hpp>
64 std::shared_ptr<IDevice>
Create(
const std::string& filename,
65 const std::string& name,
66 const std::string& type,
74 DeviceFactory(
const DeviceFactory& other);
75 DeviceFactory& operator=(
const DeviceFactory& other);
79 std::map<std::string, IDeviceMaker* > m_makers;
80 log4cplus::Logger m_logger;
Definition dataContext.hpp:86
static DeviceFactory & Instance()
Get instance of singleton.
Definition deviceFactory.cpp:26
void RegisterMaker(const std::string &key, IDeviceMaker *maker)
Register device maker.
Definition deviceFactory.cpp:34
void DeregisterMaker(const std::string &key, IDeviceMaker *maker)
Deregister device maker.
Definition deviceFactory.cpp:44
std::shared_ptr< IDevice > Create(const std::string &filename, const std::string &name, const std::string &type, DataContext &data_ctx) const
Creates a new device.
Definition deviceFactory.cpp:53
Definition iDeviceMaker.hpp:26
Definition iDevice.hpp:41
ActionMgr class source file.
Definition actionMgr.cpp:28
actuatorLcsIf class header file.
Definition actionMgr.cpp:28
ActionsEnable class source file.
Definition actionMgr.cpp:28