ifw-daq  2.1.0-pre1
IFW Data Acquisition modules
Public Member Functions | List of all members
SimpleDaqRequestor< Func > Struct Template Reference

Simple Daq commands that accepts a single argument id and returns a shared_ptr type that can be formatted with ostream<< operator when dereferenced. More...

#include <requestor.hpp>

+ Inheritance diagram for SimpleDaqRequestor< Func >:

Public Member Functions

 SimpleDaqRequestor (Func func, CommonArgs &args)
 
void AddOptions (CLI::App *sub)
 Add arguments to command. More...
 
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 ()
 

Additional Inherited Members

- Protected Attributes inherited from Requestor
CommonArgsm_args
 

Detailed Description

template<class Func>
struct SimpleDaqRequestor< Func >

Simple Daq commands that accepts a single argument id and returns a shared_ptr type that can be formatted with ostream<< operator when dereferenced.

Definition at line 128 of file requestor.hpp.

Constructor & Destructor Documentation

◆ SimpleDaqRequestor()

template<class Func >
SimpleDaqRequestor< Func >::SimpleDaqRequestor ( Func  func,
CommonArgs args 
)
inline

Definition at line 129 of file requestor.hpp.

Member Function Documentation

◆ AddOptions()

template<class Func >
void SimpleDaqRequestor< Func >::AddOptions ( CLI::App *  app)
inlinevirtual

Add arguments to command.

Reimplemented from Requestor.

Definition at line 132 of file requestor.hpp.

◆ Handle()

template<class Func >
void SimpleDaqRequestor< Func >::Handle ( ::stdif::StdCmdsSync &  std_cmds,
::daqif::OcmDaqControlSync &  daq_cmds,
CLI::App *  arg 
)
inlineoverridevirtual

Receives a parsed variables_map that include the options added with AddOptions.

Implements Requestor.

Definition at line 136 of file requestor.hpp.


The documentation for this struct was generated from the following file: