|
ifw-daq
1.0.0
IFW Data Acquisition modules
|
Simple requestor for commands without argument. More...
#include <requestor.hpp>
Inheritance diagram for SimpleRequestor< Func >:Public Member Functions | |
| SimpleRequestor (Func func, CommonArgs &args) | |
| void | Handle (::stdif::StdCmdsSync &std_cmds, ::ocmif::OcmDaqSync &daq_cmds, boost::program_options::variables_map &vm, std::vector< std::string > &opts) 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 std::string | Synopsis () |
| virtual void | AddOptions (boost::program_options::options_description &descr) |
| 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 OcmDaqSync member function pointer, taking no arguments and returning a type that has an ostream << operator: E.g.: using Func = decltype(&ocmif::StdCmds::Enable); |
Definition at line 90 of file requestor.hpp.
|
inline |
Definition at line 91 of file requestor.hpp.
|
inlineoverridevirtual |
Receives a parsed variables_map that include the options added with AddOptions.
Implements Requestor.
Definition at line 93 of file requestor.hpp.
| Func SimpleRequestor< Func >::m_func |
Definition at line 115 of file requestor.hpp.