ifw-daq  1.0.0
IFW Data Acquisition modules
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 const &status_arg, ObservableEventLog &event_log_arg, 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)
 
 AsyncOpParams (AsyncOpParams const &)=default
 
 AsyncOpParams (AsyncOpParams &&)=default
 

Public Attributes

ObservableStatus const & status
 Async operations should not modify status directly DaqController does that. More...
 
ObservableEventLogevent_log
 
rad::IoExecutorexecutor
 
log4cplus::Logger & logger
 
std::string const & id
 
PendingRepliespending_replies
 
std::vector< Source< PrimSource > > & prim_sources
 Note: Consider vector immutable! More...
 
std::vector< Source< MetaSource > > & meta_sources
 Note: Consider vector immutable!a. More...
 

Detailed Description

Parameters required for each async operation.

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

Definition at line 23 of file asyncOpParams.hpp.

Constructor & Destructor Documentation

◆ AsyncOpParams() [1/3]

daq::op::AsyncOpParams::AsyncOpParams ( ObservableStatus const &  status_arg,
ObservableEventLog event_log_arg,
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 
)
inline

Definition at line 24 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

◆ event_log

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

Definition at line 49 of file asyncOpParams.hpp.

◆ executor

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

Definition at line 50 of file asyncOpParams.hpp.

◆ id

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

Definition at line 52 of file asyncOpParams.hpp.

◆ logger

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

Definition at line 51 of file asyncOpParams.hpp.

◆ meta_sources

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

Note: Consider vector immutable!a.

Definition at line 55 of file asyncOpParams.hpp.

◆ pending_replies

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

Definition at line 53 of file asyncOpParams.hpp.

◆ prim_sources

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

Note: Consider vector immutable!

Definition at line 54 of file asyncOpParams.hpp.

◆ status

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

Async operations should not modify status directly DaqController does that.

Definition at line 48 of file asyncOpParams.hpp.


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