ifw-daq
3.0.0-pre2
IFW Data Acquisition modules
|
OCM Async operations. More...
#include <daqController.hpp>
Public Types | |
using | AwaitReturnType = std::pair< boost::future< Result< DpParts > >, std::function< bool()> > |
Public Member Functions | |
OcmAsyncOperations () | |
Default constructs object with standard async operations. More... | |
OcmAsyncOperations (OcmAsyncOperations &&)=default | |
OcmAsyncOperations (OcmAsyncOperations const &)=default | |
OcmAsyncOperations & | operator= (OcmAsyncOperations &&)=default |
OcmAsyncOperations & | operator= (OcmAsyncOperations const &)=default |
bool | IsValid () const noexcept |
Public Attributes | |
std::function< boost::future< void >op::AsyncOpParams)> | start |
std::function< boost::future< Result< void > >ErrorPolicy, op::AsyncOpParams)> | abort |
std::function< boost::future< Result< DpParts > >ErrorPolicy, op::AsyncOpParams)> | stop |
std::function< AwaitReturnType(op::AwaitOpParams)> | await_prim |
OCM Async operations.
Definition at line 50 of file daqController.hpp.
using daq::OcmAsyncOperations::AwaitReturnType = std::pair<boost::future<Result<DpParts> >, std::function<bool()> > |
Definition at line 52 of file daqController.hpp.
daq::OcmAsyncOperations::OcmAsyncOperations | ( | ) |
Default constructs object with standard async operations.
Definition at line 64 of file daqController.cpp.
|
default |
|
default |
|
noexcept |
Definition at line 77 of file daqController.cpp.
|
default |
|
default |
std::function<boost::future<Result<void> >ErrorPolicy, op::AsyncOpParams)> daq::OcmAsyncOperations::abort |
Definition at line 66 of file daqController.hpp.
std::function<AwaitReturnType(op::AwaitOpParams)> daq::OcmAsyncOperations::await_prim |
Definition at line 68 of file daqController.hpp.
std::function<boost::future<void>op::AsyncOpParams)> daq::OcmAsyncOperations::start |
Definition at line 65 of file daqController.hpp.
std::function<boost::future<Result<DpParts> >ErrorPolicy, op::AsyncOpParams)> daq::OcmAsyncOperations::stop |
Definition at line 67 of file daqController.hpp.