ifw-daq  2.1.0-pre1
IFW Data Acquisition modules
Public Member Functions | Protected Attributes | List of all members
Requestor Struct Referenceabstract

#include <requestor.hpp>

+ Inheritance diagram for Requestor:

Public Member Functions

 Requestor (CommonArgs &args)
 
virtual ~Requestor ()
 
virtual void AddOptions (CLI::App *app)
 Add arguments to command. More...
 
virtual void Handle (::stdif::StdCmdsSync &std_cmds, ::daqif::OcmDaqControlSync &daq_cmds, CLI::App *arg)=0
 Receives a parsed variables_map that include the options added with AddOptions. More...
 

Protected Attributes

CommonArgsm_args
 

Detailed Description

Definition at line 57 of file requestor.hpp.

Constructor & Destructor Documentation

◆ Requestor()

Requestor::Requestor ( CommonArgs args)
explicit

Definition at line 129 of file requestor.cpp.

◆ ~Requestor()

virtual Requestor::~Requestor ( )
inlinevirtual

Definition at line 59 of file requestor.hpp.

Member Function Documentation

◆ AddOptions()

void Requestor::AddOptions ( CLI::App *  app)
virtual

Add arguments to command.

Reimplemented in SimpleDaqRequestor< Func >, AwaitStateRequestor, UpdateKeywordsRequestor, StartDaqRequestor, and SetLogLevelRequestor.

Definition at line 132 of file requestor.cpp.

◆ Handle()

virtual void Requestor::Handle ( ::stdif::StdCmdsSync &  std_cmds,
::daqif::OcmDaqControlSync &  daq_cmds,
CLI::App *  arg 
)
pure virtual

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

Implemented in AwaitStateRequestor, UpdateKeywordsRequestor, StartDaqRequestor, NoArgRequestor< Func >, SimpleDaqRequestor< Func >, SimpleRequestor< Func >, and SetLogLevelRequestor.

Member Data Documentation

◆ m_args

CommonArgs& Requestor::m_args
protected

Definition at line 73 of file requestor.hpp.


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