ifw-fcf
2.0.0
|
#include <activityRecovering.hpp>
Public Member Functions | |
ActivityRecovering (const std::string &id, rad::SMAdapter &sm, DataContext &data_ctx, DeviceFacade &device_facade) | |
Constructor. More... | |
virtual | ~ActivityRecovering () |
Destructor. More... | |
void | Run () override |
Run method running inside the thread. More... | |
ActivityRecovering (const ActivityRecovering &)=delete | |
ActivityRecovering & | operator= (const ActivityRecovering &)=delete |
Disable copy constructor. More... | |
This class implements the Do-Activity for recovering a device.
fcf::devmgr::common::ActivityRecovering::ActivityRecovering | ( | 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 Recovering a device reaching operational state. When the state has been reached it generates a EnableDone event.