ifw-sup  3.0.0-pre3
Public Member Functions | List of all members
sup::syssup::common::ActionsEnable Class Reference

#include <actionsEnable.hpp>

Inheritance diagram for sup::syssup::common::ActionsEnable:

Public Member Functions

 ActionsEnable (SubsysFacade &subsys_facade)
 
void Start (scxml4cpp::Context *c)
 
void Stop (scxml4cpp::Context *c)
 
void Done (scxml4cpp::Context *c)
 
void Error (scxml4cpp::Context *c)
 
void Timeout (scxml4cpp::Context *c)
 
 ActionsEnable (const ActionsEnable &)=delete
 Disable copy constructor. More...
 
ActionsEnableoperator= (const ActionsEnable &)=delete
 Disable assignment operator. More...
 

Detailed Description

Class grouping the actions related to the Enable event.

Constructor & Destructor Documentation

◆ ActionsEnable() [1/2]

sup::syssup::common::ActionsEnable::ActionsEnable ( SubsysFacade subsys_facade)
explicit

Constructor.

Parameters
[in]iosReference to the event loop.
[in]smState machine reference
[in]data_ctxData shared within the application among actions and activities.
[in]subsys_facadeFacade to all subsyss handled by the manager.

◆ ActionsEnable() [2/2]

sup::syssup::common::ActionsEnable::ActionsEnable ( const ActionsEnable )
delete

Disable copy constructor.

Member Function Documentation

◆ Done()

void sup::syssup::common::ActionsEnable::Done ( scxml4cpp::Context *  c)

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

Parameters
[in]cLast event received.

◆ Error()

void sup::syssup::common::ActionsEnable::Error ( scxml4cpp::Context *  c)

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

Parameters
[in]cLast event received.

◆ operator=()

ActionsEnable& sup::syssup::common::ActionsEnable::operator= ( const ActionsEnable )
delete

Disable assignment operator.

◆ Start()

void sup::syssup::common::ActionsEnable::Start ( scxml4cpp::Context *  c)

Implementation of the Start callback.

Parameters
[in]cLast event received which should be a Start event (the Start event is triggered by a ReqEnable request).

◆ Stop()

void sup::syssup::common::ActionsEnable::Stop ( scxml4cpp::Context *  c)

Implementation of the Stop callback. This callback:

  • replies back for the originator of the ReqStop request.
Parameters
[in]cLast event received which should be a Stop event (the Stop event is triggered by a ReqStop request).

◆ Timeout()

void sup::syssup::common::ActionsEnable::Timeout ( scxml4cpp::Context *  c)

Implementation of the Timeout callback. This method implements the actions when the Enable event was finalized unexpectly.

Parameters
[in]cLast event received.

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