ifw-fcf 7.1.4
Loading...
Searching...
No Matches
iDeviceMaker.hpp
Go to the documentation of this file.
1
8#ifndef FCF_DEVMGR_COMMON_IDEVICEMAKER_HPP
9#define FCF_DEVMGR_COMMON_IDEVICEMAKER_HPP
10
11#include <yaml-cpp/yaml.h>
12
13
14namespace ifw::fcf {
15 namespace devmgr {
16 namespace common {
17
18 class DataContext;
19 class IDevice;
20
26 {
27 public:
28
29
38 virtual std::shared_ptr<IDevice> Create(const std::string& filename,
39 const std::string& name,
40 DataContext& data_ctx) const = 0;
41
45 virtual ~IDeviceMaker() {}
46
47 };
48 }
49 }
50}
51
52
53#endif // FCF_DEVMGR_COMMON_IDEVICEMAKER_HPP
Definition dataContext.hpp:86
Definition iDeviceMaker.hpp:26
virtual std::shared_ptr< IDevice > Create(const std::string &filename, const std::string &name, DataContext &data_ctx) const =0
Abstract method to create a new device.
virtual ~IDeviceMaker()
Default destructor.
Definition iDeviceMaker.hpp:45
ActionsEnable class source file.
Definition actionMgr.cpp:28