ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
Public Types | Public Member Functions | Public Attributes | List of all members
daq::OcmAsyncOperations Struct Reference

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
 
OcmAsyncOperationsoperator= (OcmAsyncOperations &&)=default
 
OcmAsyncOperationsoperator= (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
 

Detailed Description

OCM Async operations.

Definition at line 50 of file daqController.hpp.

Member Typedef Documentation

◆ AwaitReturnType

using daq::OcmAsyncOperations::AwaitReturnType = std::pair<boost::future<Result<DpParts> >, std::function<bool()> >

Definition at line 52 of file daqController.hpp.

Constructor & Destructor Documentation

◆ OcmAsyncOperations() [1/3]

daq::OcmAsyncOperations::OcmAsyncOperations ( )

Default constructs object with standard async operations.

Definition at line 64 of file daqController.cpp.

◆ OcmAsyncOperations() [2/3]

daq::OcmAsyncOperations::OcmAsyncOperations ( OcmAsyncOperations &&  )
default

◆ OcmAsyncOperations() [3/3]

daq::OcmAsyncOperations::OcmAsyncOperations ( OcmAsyncOperations const &  )
default

Member Function Documentation

◆ IsValid()

bool daq::OcmAsyncOperations::IsValid ( ) const
noexcept

Definition at line 77 of file daqController.cpp.

◆ operator=() [1/2]

OcmAsyncOperations& daq::OcmAsyncOperations::operator= ( OcmAsyncOperations &&  )
default

◆ operator=() [2/2]

OcmAsyncOperations& daq::OcmAsyncOperations::operator= ( OcmAsyncOperations const &  )
default

Member Data Documentation

◆ abort

std::function<boost::future<Result<void> >ErrorPolicy, op::AsyncOpParams)> daq::OcmAsyncOperations::abort

Definition at line 66 of file daqController.hpp.

◆ await_prim

std::function<AwaitReturnType(op::AwaitOpParams)> daq::OcmAsyncOperations::await_prim

Definition at line 68 of file daqController.hpp.

◆ start

std::function<boost::future<void>op::AsyncOpParams)> daq::OcmAsyncOperations::start

Definition at line 65 of file daqController.hpp.

◆ stop

std::function<boost::future<Result<DpParts> >ErrorPolicy, op::AsyncOpParams)> daq::OcmAsyncOperations::stop

Definition at line 67 of file daqController.hpp.


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