| ifw-daq
    2.1.0-pre1
    IFW Data Acquisition modules | 
 
 
 
Go to the documentation of this file.
   15 #include <rad/actionGroup.hpp> 
   16 #include <rad/assert.hpp> 
   17 #include <rad/actionCallback.hpp> 
   41     if (actions_std == 
nullptr) {
 
   42         LOG4CPLUS_ERROR(
GetLogger(), 
"Cannot create actions_std object.");
 
   46     AddActionGroup(actions_std);
 
   52     scxml4cpp::Action* the_action = 
nullptr;
 
   54     using std::placeholders::_1;
 
   56     the_action = 
new rad::ActionCallback(
 
   57                     "ActionsStd.GetState",
 
   59     AddAction(the_action);
 
   61     the_action = 
new rad::ActionCallback(
 
   62                     "ActionsStd.GetStatus",
 
   64     AddAction(the_action);
 
   66     the_action = 
new rad::ActionCallback(
 
   69     AddAction(the_action);
 
   71     the_action = 
new rad::ActionCallback(
 
   74     AddAction(the_action);
 
   76     the_action = 
new rad::ActionCallback(
 
   79     AddAction(the_action);
 
   81     the_action = 
new rad::ActionCallback(
 
   84     AddAction(the_action);
 
   86     the_action = 
new rad::ActionCallback(
 
   89     AddAction(the_action);
 
   91     the_action = 
new rad::ActionCallback(
 
   92                     "ActionsStd.SetLogLevel",
 
   94     AddAction(the_action);
 
   96     the_action = 
new rad::ActionCallback(
 
   99     AddAction(the_action);
 
  101     the_action = 
new rad::ActionCallback(
 
  102                     "ActionsStd.ExitNoReply",
 
  104     AddAction(the_action);
 
  
void CreateActions(boost::asio::io_service &ios, rad::SMAdapter &sm, DataContext &the_data)
Method to instantiate the action objects.
DataContext class header file.
void ExitNoReply(scxml4cpp::Context *c)
Implementation of the ExitNoReply action.
This class contains the implementation of the actions dealing with the standard commands from stdif....
virtual ~ActionMgr()
Default destructor.
void Reset(scxml4cpp::Context *c)
Implementation of the Reset action.
void Exit(scxml4cpp::Context *c)
Implementation of the Exit action.
void Init(scxml4cpp::Context *c)
Implementation of the Init action.
void Stop(scxml4cpp::Context *c)
Implementation of the Stop action.
void CreateActivities(rad::SMAdapter &sm, DataContext &the_data)
Method to instantiate activity objects.
void Enable(scxml4cpp::Context *c)
Implementation of the Enable action.
ActionMgr()
Default constructor.
void Disable(scxml4cpp::Context *c)
Implementation of the Disable action.
void SetLogLevel(scxml4cpp::Context *c)
Implementation of the SetLogLevel action.
This class provide access to the application run-time data including the in-memory DB.
void GetStatus(scxml4cpp::Context *c)
Implementation of the GetStatus action.
log4cplus::Logger & GetLogger()
void GetState(scxml4cpp::Context *c)
Implementation of the GetState action.
ActionsStd class header file.
ActionMgr class header file.