ifw-sup
3.0.0-pre3
|
#include <activityEnabling.hpp>
Public Member Functions | |
ActivityEnabling (const std::string &id, rad::SMAdapter &sm, DataContext &data_ctx) | |
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 subsys.
sup::subsim::common::ActivityEnabling::ActivityEnabling | ( | const std::string & | id, |
rad::SMAdapter & | sm, | ||
DataContext & | data_ctx | ||
) |
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. |
|
virtual |
Destructor.
|
delete |
|
delete |
Disable copy constructor.
|
override |
Run method running inside the thread.
Do-activity Enabling a subsys reaching operational state. When the state has been reached it generates a EnableDone event.