ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
fcf::devmgr::common::ActivityEnabling Class Reference

#include <activityEnabling.hpp>

Inheritance diagram for fcf::devmgr::common::ActivityEnabling:

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
 
ActivityEnablingoperator= (const ActivityEnabling &)=delete
 Disable copy constructor. More...
 

Detailed Description

This class implements the Do-Activity for enabling a device.

Constructor & Destructor Documentation

fcf::devmgr::common::ActivityEnabling::ActivityEnabling ( const std::string &  id,
rad::SMAdapter &  sm,
DataContext data_ctx,
DeviceFacade device_facade 
)

Constructor.

Parameters
[in]idActivity identifier.
[in,out]smReference to the State Machine adapter needed to trigger events.
[in,out]data_ctxReference to data context object.
[in,out]device_facadeReference to device facace object.
fcf::devmgr::common::ActivityEnabling::~ActivityEnabling ( )
virtual

Destructor.

fcf::devmgr::common::ActivityEnabling::ActivityEnabling ( const ActivityEnabling )
delete

Member Function Documentation

ActivityEnabling& fcf::devmgr::common::ActivityEnabling::operator= ( const ActivityEnabling )
delete

Disable copy constructor.

void fcf::devmgr::common::ActivityEnabling::Run ( )
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.


The documentation for this class was generated from the following files: