|
ifw-daq 3.1.0
IFW Data Acquisition modules
|
Contains definition for the async op utilities. More...
Go to the source code of this file.
Namespaces | |
| namespace | daq |
| namespace | 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, std::function< void(std::shared_ptr< DaqReply > const &)>) |
| 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, std::function< void(std::shared_ptr< DaqStopReply > const &)>) |
| 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. | |
| 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, std::function< void(ReplyType const &)> func={}) |
| Reply handler that checks for exceptions in reply. | |
| 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. | |
Contains definition for the async op utilities.
Definition in file util.cpp.