ifw-fcf
7.1.4
Loading...
Searching...
No Matches
devmgr
common
src
include
ifw
fcf
devmgr
common
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
14
namespace
ifw::fcf
{
15
namespace
devmgr {
16
namespace
common {
17
18
class
DataContext;
19
class
IDevice;
20
25
class
IDeviceMaker
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
ifw::fcf::devmgr::common::DataContext
Definition
dataContext.hpp:86
ifw::fcf::devmgr::common::IDeviceMaker
Definition
iDeviceMaker.hpp:26
ifw::fcf::devmgr::common::IDeviceMaker::Create
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.
ifw::fcf::devmgr::common::IDeviceMaker::~IDeviceMaker
virtual ~IDeviceMaker()
Default destructor.
Definition
iDeviceMaker.hpp:45
ifw::fcf
ActionsEnable class source file.
Definition
actionMgr.cpp:28
Generated by
1.10.0