ifw-fcf
2.0.0
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
devmgr
common
src
include
fcf
devmgr
common
activityEnabling.hpp
Go to the documentation of this file.
1
8
#ifndef FCF_DEVMGR_COMMON_ACTIVITY_ENABLING_HPP_
9
#define FCF_DEVMGR_COMMON_ACTIVITY_ENABLING_HPP_
10
11
// System headers
12
#include <string>
13
14
#include <rad/activity.hpp>
15
#include <rad/smAdapter.hpp>
16
17
18
namespace
fcf {
19
namespace
devmgr {
20
namespace
common {
21
22
class
DataContext;
23
class
DeviceFacade;
24
28
class
ActivityEnabling
:
public
rad::ThreadActivity {
29
public
:
30
39
ActivityEnabling
(
const
std::string&
id
,
40
rad::SMAdapter& sm,
41
DataContext
& data_ctx,
42
DeviceFacade
& device_facade);
43
47
virtual
~ActivityEnabling
();
48
55
void
Run
()
override
;
56
57
ActivityEnabling
(
const
ActivityEnabling
&) =
delete
;
58
ActivityEnabling
&
operator=
(
const
ActivityEnabling
&) =
delete
;
59
60
private
:
61
DataContext
& m_data_ctx;
62
DeviceFacade
& m_device_facade;
63
rad::SMAdapter& m_sm;
64
};
65
}
66
}
// namespace devmgr::Common
67
}
68
69
#endif // FCF_DEVMGR_COMMON_ACTIVITY_ENABLING_HPP_
fcf::devmgr::common::ActivityEnabling::Run
void Run() override
Run method running inside the thread.
Definition:
activityEnabling.cpp:46
fcf::devmgr::common::ActivityEnabling::ActivityEnabling
ActivityEnabling(const std::string &id, rad::SMAdapter &sm, DataContext &data_ctx, DeviceFacade &device_facade)
Constructor.
Definition:
activityEnabling.cpp:30
fcf::devmgr::common::DeviceFacade
Definition:
deviceFacade.hpp:39
fcf::devmgr::common::ActivityEnabling::~ActivityEnabling
virtual ~ActivityEnabling()
Destructor.
Definition:
activityEnabling.cpp:42
fcf::devmgr::common::ActivityEnabling
Definition:
activityEnabling.hpp:28
fcf::devmgr::common::ActivityEnabling::operator=
ActivityEnabling & operator=(const ActivityEnabling &)=delete
Disable copy constructor.
fcf::devmgr::common::DataContext
Definition:
dataContext.hpp:81
Generated by
1.8.5