ifw-fcf
2.0.0
|
#include <activityEnabling.hpp>
Public Member Functions | |
ActivityEnabling (const std::string &id, rad::SMAdapter &sm, DataContext &data_ctx, DeviceFacade &device_facade) | |
Constructor. More... | |
virtual | ~ActivityEnabling () |
Destructor. More... | |
void | Run () override |
Run method running inside the thread. More... | |
ActivityEnabling (const ActivityEnabling &)=delete | |
ActivityEnabling & | operator= (const ActivityEnabling &)=delete |
Disable copy constructor. More... | |
This class implements the Do-Activity for enabling a device.
fcf::devmgr::common::ActivityEnabling::ActivityEnabling | ( | const std::string & | id, |
rad::SMAdapter & | sm, | ||
DataContext & | data_ctx, | ||
DeviceFacade & | device_facade | ||
) |
Constructor.
[in] | id | Activity identifier. |
[in,out] | sm | Reference to the State Machine adapter needed to trigger events. |
[in,out] | data_ctx | Reference to data context object. |
[in,out] | device_facade | Reference to device facace object. |
|
virtual |
Destructor.
|
delete |
|
delete |
Disable copy constructor.
|
override |
Run method running inside the thread.
Do-activity Enabling a device reaching operational state. When the state has been reached it generates a EnableDone event.