rad  3.0.0
Public Member Functions | List of all members
hellomal::ActionsStd Class Reference

#include <actionsStd.hpp>

Inheritance diagram for hellomal::ActionsStd:
rad::ActionGroup

Public Member Functions

 ActionsStd (boost::asio::io_service &ios, rad::SMAdapter &sm, DataContext &data)
 
void GetState (scxml4cpp::Context *c)
 
void GetStatus (scxml4cpp::Context *c)
 
void GetVersion (scxml4cpp::Context *c)
 
void Stop (scxml4cpp::Context *c)
 
void Init (scxml4cpp::Context *c)
 
void Enable (scxml4cpp::Context *c)
 
void Disable (scxml4cpp::Context *c)
 
void Reset (scxml4cpp::Context *c)
 
void SetLogLevel (scxml4cpp::Context *c)
 
void Exit (scxml4cpp::Context *c)
 
void ExitNoReply (scxml4cpp::Context *c)
 
 ActionsStd (const ActionsStd &)=delete
 
ActionsStdoperator= (const ActionsStd &)=delete
 Disable copy constructor. More...
 
 ActionsStd (boost::asio::io_service &ios, rad::SMAdapter &sm, DataContext &data)
 
void GetState (scxml4cpp::Context *c)
 
void GetStatus (scxml4cpp::Context *c)
 
void GetVersion (scxml4cpp::Context *c)
 
void Stop (scxml4cpp::Context *c)
 
void Init (scxml4cpp::Context *c)
 
void Enable (scxml4cpp::Context *c)
 
void Disable (scxml4cpp::Context *c)
 
void Reset (scxml4cpp::Context *c)
 
void SetLogLevel (scxml4cpp::Context *c)
 
void Exit (scxml4cpp::Context *c)
 
void ExitNoReply (scxml4cpp::Context *c)
 
 ActionsStd (const ActionsStd &)=delete
 
ActionsStdoperator= (const ActionsStd &)=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...
 

Detailed Description

This class contains the implementation of the actions dealing with the following "standard" commands:

and the following signals:

In addition it implements the:

Constructor & Destructor Documentation

◆ ActionsStd() [1/4]

hellomal::ActionsStd::ActionsStd ( boost::asio::io_service &  ios,
rad::SMAdapter sm,
DataContext data 
)

Constructor.

Parameters
[in]iosReference to the event loop.
[in]smReference to the SM Adapter used to inject internal events.
[in]dataData shared within the application among actions and activities.

◆ ActionsStd() [2/4]

hellomal::ActionsStd::ActionsStd ( const ActionsStd )
delete

◆ ActionsStd() [3/4]

hellomal::ActionsStd::ActionsStd ( boost::asio::io_service &  ios,
rad::SMAdapter sm,
DataContext data 
)

Constructor.

Parameters
[in]iosReference to the event loop.
[in]smReference to the SM Adapter used to inject internal events.
[in]dataData shared within the application among actions and activities.

◆ ActionsStd() [4/4]

hellomal::ActionsStd::ActionsStd ( const ActionsStd )
delete

Member Function Documentation

◆ Disable() [1/2]

void hellomal::ActionsStd::Disable ( scxml4cpp::Context c)

Implementation of the Disable action. This action:

  • replies back for the originator of the ReqDisable request.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ Disable() [2/2]

void hellomal::ActionsStd::Disable ( scxml4cpp::Context c)

Implementation of the Disable action. This action:

  • replies back for the originator of the ReqDisable request.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ Enable() [1/2]

void hellomal::ActionsStd::Enable ( scxml4cpp::Context c)

Implementation of the Enable action. This action:

  • replies back for the originator of the ReqEnable request.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ Enable() [2/2]

void hellomal::ActionsStd::Enable ( scxml4cpp::Context c)

Implementation of the Enable action. This action:

  • replies back for the originator of the ReqEnable request.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ Exit() [1/2]

void hellomal::ActionsStd::Exit ( scxml4cpp::Context c)

Implementation of the Exit action. This action:

  • replies back for the originator of the ReqExit request.
  • stops the event loop.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ Exit() [2/2]

void hellomal::ActionsStd::Exit ( scxml4cpp::Context c)

Implementation of the Exit action. This action:

  • replies back for the originator of the ReqExit request.
  • stops the event loop.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ ExitNoReply() [1/2]

void hellomal::ActionsStd::ExitNoReply ( scxml4cpp::Context c)

Implementation of the ExitNoReply action. This action:

  • stops the event loop.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ ExitNoReply() [2/2]

void hellomal::ActionsStd::ExitNoReply ( scxml4cpp::Context c)

Implementation of the ExitNoReply action. This action:

  • stops the event loop.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ GetState() [1/2]

void hellomal::ActionsStd::GetState ( scxml4cpp::Context c)

Implementation of the GetState action. This action:

  • replies back for the originator of the GetState request with the current State Machine active state configuration.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ GetState() [2/2]

void hellomal::ActionsStd::GetState ( scxml4cpp::Context c)

Implementation of the GetState action. This action:

  • replies back for the originator of the GetState request with the current State Machine active state configuration.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ GetStatus() [1/2]

void hellomal::ActionsStd::GetStatus ( scxml4cpp::Context c)

Implementation of the GetStatus action. This action:

  • replies back for the originator of the GetStatus request with the current State Machine active state configuration.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ GetStatus() [2/2]

void hellomal::ActionsStd::GetStatus ( scxml4cpp::Context c)

Implementation of the GetStatus action. This action:

  • replies back for the originator of the GetStatus request with the current State Machine active state configuration.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ GetVersion() [1/2]

void hellomal::ActionsStd::GetVersion ( scxml4cpp::Context c)

Implementation of the GetVersion action. This action:

  • replies back for the originator of the GetVersion request with the version of the SW module.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ GetVersion() [2/2]

void hellomal::ActionsStd::GetVersion ( scxml4cpp::Context c)

Implementation of the GetVersion action. This action:

  • replies back for the originator of the GetVersion request with the version of the SW module.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ Init() [1/2]

void hellomal::ActionsStd::Init ( scxml4cpp::Context c)

Implementation of the Init action. This action:

  • re-initialize the application run-time data,
  • replies back for the originator of the ReqInit request.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ Init() [2/2]

void hellomal::ActionsStd::Init ( scxml4cpp::Context c)

Implementation of the Init action. This action:

  • re-initialize the application run-time data,
  • replies back for the originator of the ReqInit request.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ operator=() [1/2]

ActionsStd& hellomal::ActionsStd::operator= ( const ActionsStd )
delete

Disable copy constructor.

◆ operator=() [2/2]

ActionsStd& hellomal::ActionsStd::operator= ( const ActionsStd )
delete

Disable copy constructor.

◆ Reset() [1/2]

void hellomal::ActionsStd::Reset ( scxml4cpp::Context c)

Implementation of the Reset action. This action:

  • replies back for the originator of the ReqReset request.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ Reset() [2/2]

void hellomal::ActionsStd::Reset ( scxml4cpp::Context c)

Implementation of the Reset action. This action:

  • replies back for the originator of the ReqReset request.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ SetLogLevel() [1/2]

void hellomal::ActionsStd::SetLogLevel ( scxml4cpp::Context c)

Implementation of the SetLogLevel action. This action:

  • changes the log level,
  • replies back for the originator of the ReqSetLogLevel request.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ SetLogLevel() [2/2]

void hellomal::ActionsStd::SetLogLevel ( scxml4cpp::Context c)

Implementation of the SetLogLevel action. This action:

  • changes the log level,
  • replies back for the originator of the ReqSetLogLevel request.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ Stop() [1/2]

void hellomal::ActionsStd::Stop ( scxml4cpp::Context c)

Implementation of the Stop action. This action:

  • replies back for the originator of the ReqStop request.
Parameters
[in]cContext containing the last event received by the State Machine.

◆ Stop() [2/2]

void hellomal::ActionsStd::Stop ( scxml4cpp::Context c)

Implementation of the Stop action. This action:

  • replies back for the originator of the ReqStop request.
Parameters
[in]cContext containing the last event received by the State Machine.

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