ifw-daq 3.1.0
IFW Data Acquisition modules
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
daq::op::AsyncOpParams Struct Reference

Parameters required for each async operation. More...

#include <asyncOpParams.hpp>

Public Member Functions

 AsyncOpParams (ObservableStatus &status_arg, ObservableEventLog &event_log_arg, AlertState &alerts, rad::IoExecutor &executor_arg, log4cplus::Logger &logger_arg, std::string const &id_arg, PendingReplies &pending_replies_arg, std::vector< Source< PrimSource > > &prim_sources_arg, std::vector< Source< MetaSource > > &meta_sources_arg, fits::KeywordFormatter const &kw_formatter_arg)
 
 AsyncOpParams (AsyncOpParams const &)=default
 
 AsyncOpParams (AsyncOpParams &&)=default
 

Public Attributes

ObservableStatusstatus
 Async operations should not modify state directly DaqController does that.
 
ObservableEventLogevent_log
 
AlertStatealerts
 Alerts to be merged only after completion of async operation.
 
rad::IoExecutorexecutor
 
log4cplus::Logger & logger
 
std::string const & id
 
PendingRepliespending_replies
 
std::vector< Source< PrimSource > > & prim_sources
 Note: Consider vector immutable!
 
std::vector< Source< MetaSource > > & meta_sources
 Note: Consider vector immutable!a.
 
fits::KeywordFormatter const & kw_formatter
 

Detailed Description

Parameters required for each async operation.

Caller is responsible for keeping objects alive for the duration of the operation.

Definition at line 66 of file asyncOpParams.hpp.

Constructor & Destructor Documentation

◆ AsyncOpParams() [1/3]

daq::op::AsyncOpParams::AsyncOpParams ( ObservableStatus status_arg,
ObservableEventLog event_log_arg,
AlertState alerts,
rad::IoExecutor executor_arg,
log4cplus::Logger &  logger_arg,
std::string const &  id_arg,
PendingReplies pending_replies_arg,
std::vector< Source< PrimSource > > &  prim_sources_arg,
std::vector< Source< MetaSource > > &  meta_sources_arg,
fits::KeywordFormatter const &  kw_formatter_arg 
)
inline

Definition at line 67 of file asyncOpParams.hpp.

◆ AsyncOpParams() [2/3]

daq::op::AsyncOpParams::AsyncOpParams ( AsyncOpParams const &  )
default

◆ AsyncOpParams() [3/3]

daq::op::AsyncOpParams::AsyncOpParams ( AsyncOpParams &&  )
default

Member Data Documentation

◆ alerts

AlertState& daq::op::AsyncOpParams::alerts

Alerts to be merged only after completion of async operation.

Definition at line 100 of file asyncOpParams.hpp.

◆ event_log

ObservableEventLog& daq::op::AsyncOpParams::event_log

Definition at line 96 of file asyncOpParams.hpp.

◆ executor

rad::IoExecutor& daq::op::AsyncOpParams::executor

Definition at line 101 of file asyncOpParams.hpp.

◆ id

std::string const& daq::op::AsyncOpParams::id

Definition at line 103 of file asyncOpParams.hpp.

◆ kw_formatter

fits::KeywordFormatter const& daq::op::AsyncOpParams::kw_formatter

Definition at line 107 of file asyncOpParams.hpp.

◆ logger

log4cplus::Logger& daq::op::AsyncOpParams::logger

Definition at line 102 of file asyncOpParams.hpp.

◆ meta_sources

std::vector<Source<MetaSource> >& daq::op::AsyncOpParams::meta_sources

Note: Consider vector immutable!a.

Definition at line 106 of file asyncOpParams.hpp.

◆ pending_replies

PendingReplies& daq::op::AsyncOpParams::pending_replies

Definition at line 104 of file asyncOpParams.hpp.

◆ prim_sources

std::vector<Source<PrimSource> >& daq::op::AsyncOpParams::prim_sources

Note: Consider vector immutable!

Definition at line 105 of file asyncOpParams.hpp.

◆ status

ObservableStatus& daq::op::AsyncOpParams::status

Async operations should not modify state directly DaqController does that.

The only allowed operation is to set/clear alerts.

Definition at line 95 of file asyncOpParams.hpp.


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