ifw-daq  2.1.0-pre1
IFW Data Acquisition modules
Public Member Functions | List of all members
server::ActionMgr Class Reference

This class is responsible for the life-cycle management of actions and activities. More...

#include <actionMgr.hpp>

+ Inheritance diagram for server::ActionMgr:

Public Member Functions

 ActionMgr ()
 Default constructor. More...
 
virtual ~ActionMgr ()
 Default destructor. More...
 
void CreateActions (boost::asio::io_service &ios, rad::SMAdapter &sm, DataContext &the_data)
 Method to instantiate the action objects. More...
 
void CreateActivities (rad::SMAdapter &sm, DataContext &the_data)
 Method to instantiate activity objects. More...
 
 ActionMgr (const ActionMgr &)=delete
 
ActionMgroperator= (const ActionMgr &)=delete
 Disable copy constructor. More...
 

Detailed Description

This class is responsible for the life-cycle management of actions and activities.

Definition at line 28 of file actionMgr.hpp.

Constructor & Destructor Documentation

◆ ActionMgr() [1/2]

server::ActionMgr::ActionMgr ( )

Default constructor.

Definition at line 23 of file actionMgr.cpp.

◆ ~ActionMgr()

server::ActionMgr::~ActionMgr ( )
virtual

Default destructor.

Definition at line 27 of file actionMgr.cpp.

◆ ActionMgr() [2/2]

server::ActionMgr::ActionMgr ( const ActionMgr )
delete

Member Function Documentation

◆ CreateActions()

void server::ActionMgr::CreateActions ( boost::asio::io_service &  ios,
rad::SMAdapter &  sm,
DataContext the_data 
)

Method to instantiate the action objects.

Parameters
[in]iosEvent loop.
[in]smSM adapter used to inject internal events.
[in]the_dataData shared within the application among actions and activities.

Definition at line 31 of file actionMgr.cpp.

◆ CreateActivities()

void server::ActionMgr::CreateActivities ( rad::SMAdapter &  sm,
DataContext the_data 
)

Method to instantiate activity objects.

Parameters
[in]the_dataData shared within the application.
[in]smReference to the State Machine adapter needed to trigger internal events.

Definition at line 107 of file actionMgr.cpp.

◆ operator=()

ActionMgr& server::ActionMgr::operator= ( const ActionMgr )
delete

Disable copy constructor.


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