ifw-daq
3.0.0-pre2
IFW Data Acquisition modules
|
Contains definition for the async op utilities. More...
#include <daq/op/util.hpp>
#include <cassert>
#include <gsl/gsl_util>
#include <daq/error/report.hpp>
Go to the source code of this file.
Namespaces | |
daq | |
daq::op | |
Functions | |
template std::optional< std::shared_ptr< DaqReply > > | daq::op::HandleMetaDaqReply< std::shared_ptr< DaqReply > > (char const *request, std::optional< State > expected_state, State success_state, std::optional< State > error_state, AsyncOpParams params, Source< MetaSource > &source, boost::future< std::shared_ptr< DaqReply >> &&fut) |
template std::optional< std::shared_ptr< DaqStopReply > > | daq::op::HandleMetaDaqReply< std::shared_ptr< DaqStopReply > > (char const *request, std::optional< State > expected_state, State success_state, std::optional< State > error_state, AsyncOpParams params, Source< MetaSource > &source, boost::future< std::shared_ptr< DaqStopReply >> &&fut) |
template std::optional< std::string > | daq::op::HandlePrimDaqReply< std::string > (char const *request, std::optional< State > expected_state, State success_state, std::optional< State > error_state, AsyncOpParams params, Source< PrimSource > &source, boost::future< std::string > &&fut) |
template std::optional< std::shared_ptr< RecStatus > > | daq::op::HandlePrimDaqReply< std::shared_ptr< RecStatus > > (char const *request, std::optional< State > expected_state, State success_state, std::optional< State > error_state, AsyncOpParams params, Source< PrimSource > &source, boost::future< std::shared_ptr< RecStatus >> &&fut) |
void | daq::op::UnwrapVoidReplies (boost::future< std::vector< boost::future< void >>> futures) |
Unwrap futures to extract errors. More... | |
template<class ReplyType > | |
std::optional< ReplyType > | daq::op::HandleMetaDaqReply (char const *request, std::optional< State > expected_state, State success_state, std::optional< State > error_state, AsyncOpParams params, Source< MetaSource > &source, boost::future< ReplyType > &&fut) |
Reply handler that checks for exceptions in reply. More... | |
template<class ReplyType > | |
std::optional< ReplyType > | daq::op::HandlePrimDaqReply (char const *request, std::optional< State > expected_state, State success_state, std::optional< State > error_state, AsyncOpParams params, Source< PrimSource > &source, boost::future< ReplyType > &&fut) |
Reply handler that checks for exceptions in reply. More... | |
Contains definition for the async op utilities.
Definition in file util.cpp.