ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
activityInitialising.hpp
Go to the documentation of this file.
1 
8 #ifndef FCF_DEVMGR_COMMON_ACTIVITY_INITIALISING_HPP_
9 #define FCF_DEVMGR_COMMON_ACTIVITY_INITIALISING_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 ActivityInitialising : public rad::ThreadActivity {
29  public:
30 
39  ActivityInitialising(const std::string& id,
40  rad::SMAdapter& sm,
41  DataContext& data_ctx,
42  DeviceFacade& device_facade);
43 
47  virtual ~ActivityInitialising();
48 
55  void Run() override;
56 
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_INITIALISING_HPP_
virtual ~ActivityInitialising()
Destructor.
Definition: activityInitialising.cpp:41
Definition: deviceFacade.hpp:39
Definition: dataContext.hpp:81
ActivityInitialising & operator=(const ActivityInitialising &)=delete
void Run() override
Run method running inside the thread.
Definition: activityInitialising.cpp:45
ActivityInitialising(const std::string &id, rad::SMAdapter &sm, DataContext &data_ctx, DeviceFacade &device_facade)
Constructor.
Definition: activityInitialising.cpp:30
Definition: activityInitialising.hpp:28