ifw-daq
2.1.0-pre1
IFW Data Acquisition modules
|
Simple requestor for commands without argument. More...
#include <requestor.hpp>
Public Member Functions | |
SimpleRequestor (Func func, CommonArgs &args) | |
void | Handle (::stdif::StdCmdsSync &std_cmds, ::daqif::OcmDaqControlSync &daq_cmds, CLI::App *arg) override |
Receives a parsed variables_map that include the options added with AddOptions. More... | |
Public Member Functions inherited from Requestor | |
Requestor (CommonArgs &args) | |
virtual | ~Requestor () |
virtual void | AddOptions (CLI::App *app) |
Add arguments to command. More... | |
Public Attributes | |
Func | m_func |
Additional Inherited Members | |
Protected Attributes inherited from Requestor | |
CommonArgs & | m_args |
Simple requestor for commands without argument.
Func | is either a StdCmdsSync or OcmDaqControlSync member function pointer, taking no arguments and returning a type that has an ostream << operator: E.g.: using Func = decltype(&daqif::StdCmds::Enable) ; |
Definition at line 96 of file requestor.hpp.
|
inline |
Definition at line 97 of file requestor.hpp.
|
inlineoverridevirtual |
Receives a parsed variables_map that include the options added with AddOptions.
Implements Requestor.
Definition at line 99 of file requestor.hpp.
Func SimpleRequestor< Func >::m_func |
Definition at line 120 of file requestor.hpp.