ifw-fcf
5.0.0-pre2
devmgr
common
src
include
fcf
devmgr
common
iDeviceMaker.hpp
Go to the documentation of this file.
1
9
#ifndef FCF_DEVMGR_COMMON_IDEVICEMAKER_HPP
10
#define FCF_DEVMGR_COMMON_IDEVICEMAKER_HPP
11
12
// Third party headers
13
#include <yaml-cpp/yaml.h>
14
15
namespace
fcf
{
16
namespace
devmgr {
17
namespace
common {
18
19
class
DataContext;
20
class
IDevice;
21
26
class
IDeviceMaker
27
{
28
public
:
29
30
39
virtual
std::shared_ptr<IDevice>
Create
(
const
std::string& filename,
40
const
std::string& name,
41
DataContext
& data_ctx)
const
= 0;
42
46
virtual
~IDeviceMaker
() {}
47
48
};
49
}
50
}
51
}
52
53
54
#endif
// FCF_DEVMGR_COMMON_IDEVICEMAKER_HPP
fcf::devmgr::common::DataContext
Definition:
dataContext.hpp:90
fcf::devmgr::common::IDeviceMaker
Definition:
iDeviceMaker.hpp:27
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.
fcf::devmgr::common::IDeviceMaker::~IDeviceMaker
virtual ~IDeviceMaker()
Default destructor.
Definition:
iDeviceMaker.hpp:46
fcf
Definition:
actionMgr.cpp:29
Generated by
1.9.1