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::ActionsStd Class Reference

#include <actionsStd.hpp>

Inheritance diagram for devmgr::common::ActionsStd:
scxml4cpp::EventListener scxml4cpp::StatusListener rad::ActionGroup scxml4cpp::EventListener scxml4cpp::StatusListener rad::ActionGroup scxml4cpp::EventListener scxml4cpp::StatusListener rad::ActionGroup

Public Member Functions

 ActionsStd (boost::asio::io_service &ios, rad::Dispatcher &dispatcher, rad::MsgReplier &msg_replier, DataContext &data, DeviceFacade &device_facade)
 
void notifyEvent (scxml4cpp::Event *e)
 
void notifyStatus (std::set< scxml4cpp::State * > &status)
 
void State (const rad::AnyEvent &last_event)
 
void Status (const rad::AnyEvent &last_event)
 
void Simulate (const rad::AnyEvent &last_event)
 Implementation of the Simulate action. More...
 
void StopSim (const rad::AnyEvent &last_event)
 Implementation of the StopSim action. More...
 
void Ignore (const rad::AnyEvent &last_event)
 Implementation of the Ignore action. More...
 
void StopIgn (const rad::AnyEvent &last_event)
 
void Stop (const rad::AnyEvent &last_event)
 
void Init (const rad::AnyEvent &last_event)
 
void Enable (const rad::AnyEvent &last_event)
 
void Disable (const rad::AnyEvent &last_event)
 
void Reset (const rad::AnyEvent &last_event)
 
void Config (const rad::AnyEvent &last_event)
 
void SetLog (const rad::AnyEvent &last_event)
 
void Exit (const rad::AnyEvent &last_event)
 
void ExitNoReply (const rad::AnyEvent &last_event)
 
void HwReset (rad::AnyEvent const &lastEvent)
 
void HwInit (rad::AnyEvent const &lastEvent)
 
void HwEnable (rad::AnyEvent const &lastEvent)
 
void HwDisable (rad::AnyEvent const &lastEvent)
 
void BeginAcq (rad::AnyEvent const &lastEvent)
 
void EndAcq (rad::AnyEvent const &lastEvent)
 
const std::string & GetStatus ()
 ActionsStd. More...
 
 ActionsStd (const ActionsStd &)=delete
 Disable copy constructor. More...
 
ActionsStdoperator= (const ActionsStd &)=delete
 Disable assignment operator. More...
 
 ActionsStd (boost::asio::io_service &ios, rad::Dispatcher &dispatcher, rad::MsgReplier &msg_replier, DataContext &data, DeviceFacade &device_facade)
 
void notifyEvent (scxml4cpp::Event *e)
 
void notifyStatus (std::set< scxml4cpp::State * > &status)
 
void State (const rad::AnyEvent &last_event)
 
void Status (const rad::AnyEvent &last_event)
 
void Simulate (const rad::AnyEvent &last_event)
 Implementation of the Simulate action. More...
 
void StopSim (const rad::AnyEvent &last_event)
 Implementation of the StopSim action. More...
 
void Ignore (const rad::AnyEvent &last_event)
 Implementation of the Ignore action. More...
 
void StopIgn (const rad::AnyEvent &last_event)
 
void Stop (const rad::AnyEvent &last_event)
 
void Init (const rad::AnyEvent &last_event)
 
void Enable (const rad::AnyEvent &last_event)
 
void Disable (const rad::AnyEvent &last_event)
 
void Reset (const rad::AnyEvent &last_event)
 
void Config (const rad::AnyEvent &last_event)
 
void SetLog (const rad::AnyEvent &last_event)
 
void Exit (const rad::AnyEvent &last_event)
 
void ExitNoReply (const rad::AnyEvent &last_event)
 
void HwReset (rad::AnyEvent const &lastEvent)
 
void HwInit (rad::AnyEvent const &lastEvent)
 
void HwEnable (rad::AnyEvent const &lastEvent)
 
void HwDisable (rad::AnyEvent const &lastEvent)
 
void BeginAcq (rad::AnyEvent const &lastEvent)
 
void EndAcq (rad::AnyEvent const &lastEvent)
 
const std::string & GetStatus ()
 ActionsStd. More...
 
 ActionsStd (const ActionsStd &)=delete
 Disable copy constructor. More...
 
ActionsStdoperator= (const ActionsStd &)=delete
 Disable assignment operator. More...
 
 ActionsStd (boost::asio::io_service &ios, rad::Dispatcher &dispatcher, rad::MsgReplier &msg_replier, DataContext &data, DeviceFacade &device_facade)
 
void notifyEvent (scxml4cpp::Event *e)
 
void notifyStatus (std::set< scxml4cpp::State * > &status)
 
void State (const rad::AnyEvent &last_event)
 
void Status (const rad::AnyEvent &last_event)
 
void Simulate (const rad::AnyEvent &last_event)
 Implementation of the Simulate action. More...
 
void StopSim (const rad::AnyEvent &last_event)
 Implementation of the StopSim action. More...
 
void Ignore (const rad::AnyEvent &last_event)
 Implementation of the Ignore action. More...
 
void StopIgn (const rad::AnyEvent &last_event)
 
void Stop (const rad::AnyEvent &last_event)
 
void Init (const rad::AnyEvent &last_event)
 
void Enable (const rad::AnyEvent &last_event)
 
void Disable (const rad::AnyEvent &last_event)
 
void Reset (const rad::AnyEvent &last_event)
 
void Config (const rad::AnyEvent &last_event)
 
void SetLog (const rad::AnyEvent &last_event)
 
void Exit (const rad::AnyEvent &last_event)
 
void ExitNoReply (const rad::AnyEvent &last_event)
 
void HwReset (rad::AnyEvent const &lastEvent)
 
void HwInit (rad::AnyEvent const &lastEvent)
 
void HwEnable (rad::AnyEvent const &lastEvent)
 
void HwDisable (rad::AnyEvent const &lastEvent)
 
void BeginAcq (rad::AnyEvent const &lastEvent)
 
void EndAcq (rad::AnyEvent const &lastEvent)
 
const std::string & GetStatus ()
 ActionsStd. More...
 
 ActionsStd (const ActionsStd &)=delete
 Disable copy constructor. More...
 
ActionsStdoperator= (const ActionsStd &)=delete
 Disable assignment operator. 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...
 
- Public Member Functions inherited from scxml4cpp::StatusListener
 StatusListener ()
 
virtual ~StatusListener ()
 
 StatusListener ()
 
virtual ~StatusListener ()
 
 StatusListener ()
 
virtual ~StatusListener ()
 
- Public Member Functions inherited from scxml4cpp::EventListener
 EventListener ()
 
virtual ~EventListener ()
 
 EventListener ()
 
virtual ~EventListener ()
 
 EventListener ()
 
virtual ~EventListener ()
 

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

devmgr::common::ActionsStd::ActionsStd ( boost::asio::io_service &  ios,
rad::Dispatcher dispatcher,
rad::MsgReplier msg_replier,
DataContext data,
DeviceFacade device_facade 
)

Constructor.

Parameters
[in]iosReference to the event loop.
[in]dispatcherReference to the event dispatcher.
[in]msgReplierHelper class to reply to incoming requests.
[in]dataData shared within the application among actions and activities.
[in]deviceFacadeFacade to all devices handled by the manager.
devmgr::common::ActionsStd::ActionsStd ( const ActionsStd )
delete

Disable copy constructor.

devmgr::common::ActionsStd::ActionsStd ( boost::asio::io_service &  ios,
rad::Dispatcher dispatcher,
rad::MsgReplier msg_replier,
DataContext data,
DeviceFacade device_facade 
)

Constructor.

Parameters
[in]iosReference to the event loop.
[in]dispatcherReference to the event dispatcher.
[in]msgReplierHelper class to reply to incoming requests.
[in]dataData shared within the application among actions and activities.
[in]deviceFacadeFacade to all devices handled by the manager.
devmgr::common::ActionsStd::ActionsStd ( const ActionsStd )
delete

Disable copy constructor.

devmgr::common::ActionsStd::ActionsStd ( boost::asio::io_service &  ios,
rad::Dispatcher dispatcher,
rad::MsgReplier msg_replier,
DataContext data,
DeviceFacade device_facade 
)

Constructor.

Parameters
[in]iosReference to the event loop.
[in]dispatcherReference to the event dispatcher.
[in]msgReplierHelper class to reply to incoming requests.
[in]dataData shared within the application among actions and activities.
[in]deviceFacadeFacade to all devices handled by the manager.
devmgr::common::ActionsStd::ActionsStd ( const ActionsStd )
delete

Disable copy constructor.

Member Function Documentation

void devmgr::common::ActionsStd::BeginAcq ( rad::AnyEvent const lastEvent)

Implementation of the BeginAcq action.

Parameters
[in]lastEventLast event received.
void devmgr::common::ActionsStd::BeginAcq ( rad::AnyEvent const lastEvent)

Implementation of the BeginAcq action.

Parameters
[in]lastEventLast event received.
void devmgr::common::ActionsStd::BeginAcq ( rad::AnyEvent const lastEvent)

Implementation of the BeginAcq action.

Parameters
[in]lastEventLast event received.
void devmgr::common::ActionsStd::Config ( const rad::AnyEvent last_event)

Implementation of the Config action. This action:

  • reload the application configuration file,
  • re-establish connection to the Runtime-DB,
  • replies back for the originator of the ReqConfig request.
Parameters
[in]lastEventLast event received which should be a Config event (the Config event is triggered by a ReqConfig request).
void devmgr::common::ActionsStd::Config ( const rad::AnyEvent last_event)

Implementation of the Config action. This action:

  • reload the application configuration file,
  • re-establish connection to the Runtime-DB,
  • replies back for the originator of the ReqConfig request.
Parameters
[in]lastEventLast event received which should be a Config event (the Config event is triggered by a ReqConfig request).
void devmgr::common::ActionsStd::Config ( const rad::AnyEvent last_event)

Implementation of the Config action. This action:

  • reload the application configuration file,
  • re-establish connection to the Runtime-DB,
  • replies back for the originator of the ReqConfig request.
Parameters
[in]lastEventLast event received which should be a Config event (the Config event is triggered by a ReqConfig request).
void devmgr::common::ActionsStd::Disable ( const rad::AnyEvent last_event)

Implementation of the Disable action. This action:

  • replies back for the originator of the ReqDisable request.
Parameters
[in]lastEventLast event received which should be a Stop event (the Disable event is triggered by a ReqDisable request).
void devmgr::common::ActionsStd::Disable ( const rad::AnyEvent last_event)

Implementation of the Disable action. This action:

  • replies back for the originator of the ReqDisable request.
Parameters
[in]lastEventLast event received which should be a Stop event (the Disable event is triggered by a ReqDisable request).
void devmgr::common::ActionsStd::Disable ( const rad::AnyEvent last_event)

Implementation of the Disable action. This action:

  • replies back for the originator of the ReqDisable request.
Parameters
[in]lastEventLast event received which should be a Stop event (the Disable event is triggered by a ReqDisable request).
void devmgr::common::ActionsStd::Enable ( const rad::AnyEvent last_event)

Implementation of the Enable action. This action:

  • replies back for the originator of the ReqEnable request.
Parameters
[in]lastEventLast event received which should be a Stop event (the Enable event is triggered by a ReqEnable request).
void devmgr::common::ActionsStd::Enable ( const rad::AnyEvent last_event)

Implementation of the Enable action. This action:

  • replies back for the originator of the ReqEnable request.
Parameters
[in]lastEventLast event received which should be a Stop event (the Enable event is triggered by a ReqEnable request).
void devmgr::common::ActionsStd::Enable ( const rad::AnyEvent last_event)

Implementation of the Enable action. This action:

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

Implementation of the EndAcq action.

Parameters
[in]lastEventLast event received.
void devmgr::common::ActionsStd::EndAcq ( rad::AnyEvent const lastEvent)

Implementation of the EndAcq action.

Parameters
[in]lastEventLast event received.
void devmgr::common::ActionsStd::EndAcq ( rad::AnyEvent const lastEvent)

Implementation of the EndAcq action.

Parameters
[in]lastEventLast event received.
void devmgr::common::ActionsStd::Exit ( const rad::AnyEvent last_event)

Implementation of the Exit action. This action:

  • replies back for the originator of the ReqExit request.
  • stops the event loop.
Parameters
[in]lastEventLast event received which should be an Exit event (the Exit event is triggered by a ReqExit request).
void devmgr::common::ActionsStd::Exit ( const rad::AnyEvent last_event)

Implementation of the Exit action. This action:

  • replies back for the originator of the ReqExit request.
  • stops the event loop.
Parameters
[in]lastEventLast event received which should be an Exit event (the Exit event is triggered by a ReqExit request).
void devmgr::common::ActionsStd::Exit ( const rad::AnyEvent last_event)

Implementation of the Exit action. This action:

  • replies back for the originator of the ReqExit request.
  • stops the event loop.
Parameters
[in]lastEventLast event received which should be an Exit event (the Exit event is triggered by a ReqExit request).
void devmgr::common::ActionsStd::ExitNoReply ( const rad::AnyEvent last_event)

Implementation of the ExitNoReply action. This action:

  • stops the event loop.
Parameters
[in]lastEventLast event received which should be an ExitNoReply event (the ExitNoReply event is triggered by a SIGTERM, SIGINT signals).
void devmgr::common::ActionsStd::ExitNoReply ( const rad::AnyEvent last_event)

Implementation of the ExitNoReply action. This action:

  • stops the event loop.
Parameters
[in]lastEventLast event received which should be an ExitNoReply event (the ExitNoReply event is triggered by a SIGTERM, SIGINT signals).
void devmgr::common::ActionsStd::ExitNoReply ( const rad::AnyEvent last_event)

Implementation of the ExitNoReply action. This action:

  • stops the event loop.
Parameters
[in]lastEventLast event received which should be an ExitNoReply event (the ExitNoReply event is triggered by a SIGTERM, SIGINT signals).
const std::string& devmgr::common::ActionsStd::GetStatus ( )

ActionsStd.

Returns
The last status notified by the State Machine.
const std::string & devmgr::common::ActionsStd::GetStatus ( )

ActionsStd.

Returns
The last status notified by the State Machine.
const std::string& devmgr::common::ActionsStd::GetStatus ( )

ActionsStd.

Returns
The last status notified by the State Machine.
void devmgr::common::ActionsStd::HwDisable ( rad::AnyEvent const lastEvent)

Implementation of the HwDisable action. This action triggers a disable of a set of controllers.

Parameters
[in]lastEventLast event received. event (the HwDisable event is triggered by a ReqHwDisable request).
void devmgr::common::ActionsStd::HwDisable ( rad::AnyEvent const lastEvent)

Implementation of the HwDisable action. This action triggers a disable of a set of controllers.

Parameters
[in]lastEventLast event received. event (the HwDisable event is triggered by a ReqHwDisable request).
void devmgr::common::ActionsStd::HwDisable ( rad::AnyEvent const lastEvent)

Implementation of the HwDisable action. This action triggers a disable of a set of controllers.

Parameters
[in]lastEventLast event received. event (the HwDisable event is triggered by a ReqHwDisable request).
void devmgr::common::ActionsStd::HwEnable ( rad::AnyEvent const lastEvent)

Implementation of the HwEnable action. This action triggers a enable of a set of controllers.

Parameters
[in]lastEventLast event received. event (the HwEnable event is triggered by a ReqHwEnable request).
void devmgr::common::ActionsStd::HwEnable ( rad::AnyEvent const lastEvent)

Implementation of the HwEnable action. This action triggers a enable of a set of controllers.

Parameters
[in]lastEventLast event received. event (the HwEnable event is triggered by a ReqHwEnable request).
void devmgr::common::ActionsStd::HwEnable ( rad::AnyEvent const lastEvent)

Implementation of the HwEnable action. This action triggers a enable of a set of controllers.

Parameters
[in]lastEventLast event received. event (the HwEnable event is triggered by a ReqHwEnable request).
void devmgr::common::ActionsStd::HwInit ( rad::AnyEvent const lastEvent)

Implementation of the HwInit action. This action triggers a init of a set of controllers.

Parameters
[in]lastEventLast event received. event (the HwInit event is triggered by a ReqHwInit request).
void devmgr::common::ActionsStd::HwInit ( rad::AnyEvent const lastEvent)

Implementation of the HwInit action. This action triggers a init of a set of controllers.

Parameters
[in]lastEventLast event received. event (the HwInit event is triggered by a ReqHwInit request).
void devmgr::common::ActionsStd::HwInit ( rad::AnyEvent const lastEvent)

Implementation of the HwInit action. This action triggers a init of a set of controllers.

Parameters
[in]lastEventLast event received. event (the HwInit event is triggered by a ReqHwInit request).
void devmgr::common::ActionsStd::HwReset ( rad::AnyEvent const lastEvent)

Implementation of the HwReset action. This action triggers a reset of a set of controllers.

Parameters
[in]lastEventLast event received. event (the HwReset event is triggered by a ReqHwReset request).
void devmgr::common::ActionsStd::HwReset ( rad::AnyEvent const lastEvent)

Implementation of the HwReset action. This action triggers a reset of a set of controllers.

Parameters
[in]lastEventLast event received. event (the HwReset event is triggered by a ReqHwReset request).
void devmgr::common::ActionsStd::HwReset ( rad::AnyEvent const lastEvent)

Implementation of the HwReset action. This action triggers a reset of a set of controllers.

Parameters
[in]lastEventLast event received. event (the HwReset event is triggered by a ReqHwReset request).
void devmgr::common::ActionsStd::Ignore ( const rad::AnyEvent last_event)

Implementation of the Ignore action.

Parameters
[in]lastEventLast event received which should be a Ignore event (the State event is triggered by a ReqIgnore request).

Ignore from the configuration one or more devices managed by the server. When a device is ignored, it will not forward commands to its controller and the server will ignore its state.

void devmgr::common::ActionsStd::Ignore ( const rad::AnyEvent last_event)

Implementation of the Ignore action.

Parameters
[in]lastEventLast event received which should be a Ignore event (the State event is triggered by a ReqIgnore request).

Ignore from the configuration one or more devices managed by the server. When a device is ignored, it will not forward commands to its controller and the server will ignore its state.

void devmgr::common::ActionsStd::Ignore ( const rad::AnyEvent last_event)

Implementation of the Ignore action.

Parameters
[in]lastEventLast event received which should be a Ignore event (the State event is triggered by a ReqIgnore request).

Ignore from the configuration one or more devices managed by the server. When a device is ignored, it will not forward commands to its controller and the server will ignore its state.

void devmgr::common::ActionsStd::Init ( const rad::AnyEvent last_event)

Implementation of the Init action. This action:

  • replies back for the originator of the ReqInit request.
Parameters
[in]lastEventLast event received which should be a Stop event (the Enable event is triggered by a ReqEnable request).
void devmgr::common::ActionsStd::Init ( const rad::AnyEvent last_event)

Implementation of the Init action. This action:

  • replies back for the originator of the ReqInit request.
Parameters
[in]lastEventLast event received which should be a Stop event (the Enable event is triggered by a ReqEnable request).
void devmgr::common::ActionsStd::Init ( const rad::AnyEvent last_event)

Implementation of the Init action. This action:

  • replies back for the originator of the ReqInit request.
Parameters
[in]lastEventLast event received which should be a Stop event (the Enable event is triggered by a ReqEnable request).
void devmgr::common::ActionsStd::notifyEvent ( scxml4cpp::Event e)
virtual

Implementation of the rad::EventListener interface to know when an event has been rejected/ignored/processed. It can be used to implement the event reject policy.

Parameters
[in]eventRejected event.

Implements scxml4cpp::EventListener.

void devmgr::common::ActionsStd::notifyEvent ( scxml4cpp::Event e)
virtual

Implementation of the rad::EventListener interface to know when an event has been rejected/ignored/processed. It can be used to implement the event reject policy.

Parameters
[in]eventRejected event.

Implements scxml4cpp::EventListener.

void devmgr::common::ActionsStd::notifyEvent ( scxml4cpp::Event e)
virtual

Implementation of the rad::EventListener interface to know when an event has been rejected/ignored/processed. It can be used to implement the event reject policy.

Parameters
[in]eventRejected event.

Implements scxml4cpp::EventListener.

void devmgr::common::ActionsStd::notifyStatus ( std::set< scxml4cpp::State * > &  status)
virtual

Implementation of the scxml4cpp::StatusListener interface to receive the change of state notification.

Parameters
[in]statusCurrent State Machine active states configuration.

Implements scxml4cpp::StatusListener.

void devmgr::common::ActionsStd::notifyStatus ( std::set< scxml4cpp::State * > &  status)
virtual

Implementation of the scxml4cpp::StatusListener interface to receive the change of state notification.

Parameters
[in]statusCurrent State Machine active states configuration.

Implements scxml4cpp::StatusListener.

void devmgr::common::ActionsStd::notifyStatus ( std::set< scxml4cpp::State * > &  status)
virtual

Implementation of the scxml4cpp::StatusListener interface to receive the change of state notification.

Parameters
[in]statusCurrent State Machine active states configuration.

Implements scxml4cpp::StatusListener.

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

Disable assignment operator.

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

Disable assignment operator.

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

Disable assignment operator.

void devmgr::common::ActionsStd::Reset ( const rad::AnyEvent last_event)

Implementation of the Reset action. This action:

  • replies back for the originator of the ReqReset request.
Parameters
[in]lastEventLast event received which should be a Stop event (the Disable event is triggered by a ReqReset request).
void devmgr::common::ActionsStd::Reset ( const rad::AnyEvent last_event)

Implementation of the Reset action. This action:

  • replies back for the originator of the ReqReset request.
Parameters
[in]lastEventLast event received which should be a Stop event (the Disable event is triggered by a ReqReset request).
void devmgr::common::ActionsStd::Reset ( const rad::AnyEvent last_event)

Implementation of the Reset action. This action:

  • replies back for the originator of the ReqReset request.
Parameters
[in]lastEventLast event received which should be a Stop event (the Disable event is triggered by a ReqReset request).
void devmgr::common::ActionsStd::SetLog ( const rad::AnyEvent last_event)

Implementation of the SetLog action. This action:

  • changes the log level,
  • replies back for the originator of the ReqSetLog request.
Parameters
[in]lastEventLast event received which should be a SetLog event (the SetLog event is triggered by a ReqSetLog request).
void devmgr::common::ActionsStd::SetLog ( const rad::AnyEvent last_event)

Implementation of the SetLog action. This action:

  • changes the log level,
  • replies back for the originator of the ReqSetLog request.
Parameters
[in]lastEventLast event received which should be a SetLog event (the SetLog event is triggered by a ReqSetLog request).
void devmgr::common::ActionsStd::SetLog ( const rad::AnyEvent last_event)

Implementation of the SetLog action. This action:

  • changes the log level,
  • replies back for the originator of the ReqSetLog request.
Parameters
[in]lastEventLast event received which should be a SetLog event (the SetLog event is triggered by a ReqSetLog request).
void devmgr::common::ActionsStd::Simulate ( const rad::AnyEvent last_event)

Implementation of the Simulate action.

Parameters
[in]lastEventLast event received which should be a Simulate event (the State event is triggered by a ReqSimulate request).

Simulate one or more devices managed by the server

void devmgr::common::ActionsStd::Simulate ( const rad::AnyEvent last_event)

Implementation of the Simulate action.

Parameters
[in]lastEventLast event received which should be a Simulate event (the State event is triggered by a ReqSimulate request).

Simulate one or more devices managed by the server

void devmgr::common::ActionsStd::Simulate ( const rad::AnyEvent last_event)

Implementation of the Simulate action.

Parameters
[in]lastEventLast event received which should be a Simulate event (the State event is triggered by a ReqSimulate request).

Simulate one or more devices managed by the server

void devmgr::common::ActionsStd::State ( const rad::AnyEvent last_event)

Implementation of the State action. This action:

  • replies back for the originator of the ReqState request with the current State Machine active state configuration.
Parameters
[in]lastEventLast event received which should be a State event (the State event is triggered by a ReqState request).
void devmgr::common::ActionsStd::State ( const rad::AnyEvent last_event)

Implementation of the State action. This action:

  • replies back for the originator of the ReqState request with the current State Machine active state configuration.
Parameters
[in]lastEventLast event received which should be a State event (the State event is triggered by a ReqState request).
void devmgr::common::ActionsStd::State ( const rad::AnyEvent last_event)

Implementation of the State action. This action:

  • replies back for the originator of the ReqState request with the current State Machine active state configuration.
Parameters
[in]lastEventLast event received which should be a State event (the State event is triggered by a ReqState request).
void devmgr::common::ActionsStd::Status ( const rad::AnyEvent last_event)

Implementation of the Status action. This action: replies back for the originator of the ReqStatus request with the current status of the devices following the metadata format.

Parameters
[in]lastEventLast event received which should be a Status event (the State event is triggered by a ReqStatus request).
void devmgr::common::ActionsStd::Status ( const rad::AnyEvent last_event)

Implementation of the Status action. This action: replies back for the originator of the ReqStatus request with the current status of the devices following the metadata format.

Parameters
[in]lastEventLast event received which should be a Status event (the State event is triggered by a ReqStatus request).
void devmgr::common::ActionsStd::Status ( const rad::AnyEvent last_event)

Implementation of the Status action. This action: replies back for the originator of the ReqStatus request with the current status of the devices following the metadata format.

Parameters
[in]lastEventLast event received which should be a Status event (the State event is triggered by a ReqStatus request).
void devmgr::common::ActionsStd::Stop ( const rad::AnyEvent last_event)

Implementation of the Stop action. This action:

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

Implementation of the Stop action. This action:

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

Implementation of the Stop action. This action:

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

Implementation of the StopIgn action.

Parameters
[in]lastEventLast event received which should be a StopIgn event (the State event is triggered by a ReqStopIgn request).
void devmgr::common::ActionsStd::StopIgn ( const rad::AnyEvent last_event)

Implementation of the StopIgn action.

Parameters
[in]lastEventLast event received which should be a StopIgn event (the State event is triggered by a ReqStopIgn request).
void devmgr::common::ActionsStd::StopIgn ( const rad::AnyEvent last_event)

Implementation of the StopIgn action.

Parameters
[in]lastEventLast event received which should be a StopIgn event (the State event is triggered by a ReqStopIgn request).
void devmgr::common::ActionsStd::StopSim ( const rad::AnyEvent last_event)

Implementation of the StopSim action.

Parameters
[in]lastEventLast event received which should be a StopSim event (the State event is triggered by a ReqSimulate request).

Stop simulation of one or more devices managed by the server.

void devmgr::common::ActionsStd::StopSim ( const rad::AnyEvent last_event)

Implementation of the StopSim action.

Parameters
[in]lastEventLast event received which should be a StopSim event (the State event is triggered by a ReqSimulate request).

Stop simulation of one or more devices managed by the server.

void devmgr::common::ActionsStd::StopSim ( const rad::AnyEvent last_event)

Implementation of the StopSim action.

Parameters
[in]lastEventLast event received which should be a StopSim event (the State event is triggered by a ReqSimulate request).

Stop simulation of one or more devices managed by the server.


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