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

#include <actionsRecover.hpp>

Inheritance diagram for devmgr::common::ActionsRecover:
rad::ActionGroup rad::ActionGroup rad::ActionGroup

Public Member Functions

 ActionsRecover (rad::MsgReplier &msg_replier, DataContext &data_ctx, DeviceFacade &device_facade)
 
void Start (rad::AnyEvent const &lastEvent)
 
void Stop (rad::AnyEvent const &lastEvent)
 
void Done (rad::AnyEvent const &lastEvent)
 
void Error (rad::AnyEvent const &lastEvent)
 
void Timeout (rad::AnyEvent const &lastEvent)
 
 ActionsRecover (const ActionsRecover &)=delete
 
ActionsRecoveroperator= (const ActionsRecover &)=delete
 Disable copy constructor. More...
 
 ActionsRecover (rad::MsgReplier &msg_replier, DataContext &data_ctx, DeviceFacade &device_facade)
 
void Start (rad::AnyEvent const &lastEvent)
 
void Stop (rad::AnyEvent const &lastEvent)
 
void Done (rad::AnyEvent const &lastEvent)
 
void Error (rad::AnyEvent const &lastEvent)
 
void Timeout (rad::AnyEvent const &lastEvent)
 
 ActionsRecover (const ActionsRecover &)=delete
 
ActionsRecoveroperator= (const ActionsRecover &)=delete
 Disable copy constructor. More...
 
 ActionsRecover (rad::MsgReplier &msg_replier, DataContext &data_ctx, DeviceFacade &device_facade)
 
void Start (rad::AnyEvent const &lastEvent)
 
void Stop (rad::AnyEvent const &lastEvent)
 
void Done (rad::AnyEvent const &lastEvent)
 
void Error (rad::AnyEvent const &lastEvent)
 
void Timeout (rad::AnyEvent const &lastEvent)
 
 ActionsRecover (const ActionsRecover &)=delete
 
ActionsRecoveroperator= (const ActionsRecover &)=delete
 Disable copy constructor. More...
 
- Public Member Functions inherited from rad::ActionGroup
 ActionGroup (const std::string &id)
 
virtual ~ActionGroup ()
 
const std::string & GetId () const
 
void SetId (const std::string &id)
 
 ActionGroup (const ActionGroup &)=delete
 
ActionGroupoperator= (const ActionGroup &)=delete
 Disable copy constructor. More...
 
 ActionGroup (const std::string &id)
 
virtual ~ActionGroup ()
 
const std::string & GetId () const
 
void SetId (const std::string &id)
 
 ActionGroup (const ActionGroup &)=delete
 
ActionGroupoperator= (const ActionGroup &)=delete
 Disable copy constructor. More...
 
 ActionGroup (const std::string &id)
 
virtual ~ActionGroup ()
 
const std::string & GetId () const
 
void SetId (const std::string &id)
 
 ActionGroup (const ActionGroup &)=delete
 
ActionGroupoperator= (const ActionGroup &)=delete
 Disable copy constructor. More...
 

Detailed Description

Class grouping the actions related to the Recover event.

Constructor & Destructor Documentation

devmgr::common::ActionsRecover::ActionsRecover ( rad::MsgReplier msg_replier,
DataContext data_ctx,
DeviceFacade device_facade 
)

Constructor.

Parameters
[in]msg_replierThis is needed to reply back to the originator of the ReqRecover and ReqStop commands.
[in]data_ctxReference to the application runtime data.
[in]device_facadeReference to the device facade object.
devmgr::common::ActionsRecover::ActionsRecover ( const ActionsRecover )
delete
devmgr::common::ActionsRecover::ActionsRecover ( rad::MsgReplier msg_replier,
DataContext data_ctx,
DeviceFacade device_facade 
)

Constructor.

Parameters
[in]msg_replierThis is needed to reply back to the originator of the ReqRecover and ReqStop commands.
[in]data_ctxReference to the application runtime data.
[in]device_facadeReference to the device facade object.
devmgr::common::ActionsRecover::ActionsRecover ( const ActionsRecover )
delete
devmgr::common::ActionsRecover::ActionsRecover ( rad::MsgReplier msg_replier,
DataContext data_ctx,
DeviceFacade device_facade 
)

Constructor.

Parameters
[in]msg_replierThis is needed to reply back to the originator of the ReqRecover and ReqStop commands.
[in]data_ctxReference to the application runtime data.
[in]device_facadeReference to the device facade object.
devmgr::common::ActionsRecover::ActionsRecover ( const ActionsRecover )
delete

Member Function Documentation

void devmgr::common::ActionsRecover::Done ( rad::AnyEvent const lastEvent)

Replies OK to the originator of the ReqRecover command.

Parameters
[in]lastEventRecover event.
void devmgr::common::ActionsRecover::Done ( rad::AnyEvent const lastEvent)

Replies OK to the originator of the ReqRecover command.

Parameters
[in]lastEventRecover event.
void devmgr::common::ActionsRecover::Done ( rad::AnyEvent const lastEvent)

Replies OK to the originator of the ReqRecover command.

Parameters
[in]lastEventRecover event.
void devmgr::common::ActionsRecover::Error ( rad::AnyEvent const lastEvent)

Implementation of the Done callback. This method implements the actions when the Recover event was finalized.

Parameters
[in]last_eventLast event received.
void devmgr::common::ActionsRecover::Error ( rad::AnyEvent const lastEvent)

Implementation of the Done callback. This method implements the actions when the Recover event was finalized.

Parameters
[in]last_eventLast event received.
void devmgr::common::ActionsRecover::Error ( rad::AnyEvent const lastEvent)

Implementation of the Done callback. This method implements the actions when the Recover event was finalized.

Parameters
[in]last_eventLast event received.
ActionsRecover& devmgr::common::ActionsRecover::operator= ( const ActionsRecover )
delete

Disable copy constructor.

ActionsRecover& devmgr::common::ActionsRecover::operator= ( const ActionsRecover )
delete

Disable copy constructor.

ActionsRecover& devmgr::common::ActionsRecover::operator= ( const ActionsRecover )
delete

Disable copy constructor.

void devmgr::common::ActionsRecover::Start ( rad::AnyEvent const lastEvent)

Implementation of the Start callback.

Parameters
[in]last_eventLast event received which should be a Recover event (the Start event is triggered by a ReqRecover request).
void devmgr::common::ActionsRecover::Start ( rad::AnyEvent const lastEvent)

Implementation of the Start callback.

Parameters
[in]last_eventLast event received which should be a Recover event (the Start event is triggered by a ReqRecover request).
void devmgr::common::ActionsRecover::Start ( rad::AnyEvent const lastEvent)

Implementation of the Start callback.

Parameters
[in]last_eventLast event received which should be a Recover event (the Start event is triggered by a ReqRecover request).
void devmgr::common::ActionsRecover::Stop ( rad::AnyEvent const lastEvent)

Implementation of the Stop callback. This callback:

  • replies back for the originator of the ReqStop request.
Parameters
[in]last_eventLast event received which should be a Stop event (the Stop event is triggered by a ReqStop request).
void devmgr::common::ActionsRecover::Stop ( rad::AnyEvent const lastEvent)

Implementation of the Stop callback. This callback:

  • replies back for the originator of the ReqStop request.
Parameters
[in]last_eventLast event received which should be a Stop event (the Stop event is triggered by a ReqStop request).
void devmgr::common::ActionsRecover::Stop ( rad::AnyEvent const lastEvent)

Implementation of the Stop callback. This callback:

  • replies back for the originator of the ReqStop request.
Parameters
[in]last_eventLast event received which should be a Stop event (the Stop event is triggered by a ReqStop request).
void devmgr::common::ActionsRecover::Timeout ( rad::AnyEvent const lastEvent)

Implementation of the Error callback. This method implements the actions when the Recover event was finalized with an error.

Parameters
[in]last_eventLast event received.
void devmgr::common::ActionsRecover::Timeout ( rad::AnyEvent const lastEvent)

Implementation of the Error callback. This method implements the actions when the Recover event was finalized with an error.

Parameters
[in]last_eventLast event received.
void devmgr::common::ActionsRecover::Timeout ( rad::AnyEvent const lastEvent)

Implementation of the Error callback. This method implements the actions when the Recover event was finalized with an error.

Parameters
[in]last_eventLast event received.

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