ifw-daq  2.1.0-pre1
IFW Data Acquisition modules
Public Member Functions | Public Attributes | List of all members
MockAsyncOperations Struct Reference

#include <mockAsyncOperations.hpp>

Public Member Functions

 MOCK_METHOD1 (Start, boost::future< void >(daq::op::AsyncOpParams))
 
 MOCK_METHOD2 (Abort, boost::future< daq::Result< void >>(daq::ErrorPolicy, daq::op::AsyncOpParams))
 
 MOCK_METHOD2 (Stop, boost::future< daq::Result< daq::DpParts >>(daq::ErrorPolicy, daq::op::AsyncOpParams))
 
 MOCK_METHOD1 (AwaitPrim, boost::future< daq::Result< daq::DpParts >>(daq::op::AwaitOpParams))
 
daq::OcmAsyncOperations::AwaitReturnType AwaitPrimHelper (daq::op::AwaitOpParams params)
 

Public Attributes

MockAbort mock_abort
 

Detailed Description

Definition at line 22 of file mockAsyncOperations.hpp.

Member Function Documentation

◆ AwaitPrimHelper()

daq::OcmAsyncOperations::AwaitReturnType MockAsyncOperations::AwaitPrimHelper ( daq::op::AwaitOpParams  params)
inline

Definition at line 33 of file mockAsyncOperations.hpp.

◆ MOCK_METHOD1() [1/2]

MockAsyncOperations::MOCK_METHOD1 ( AwaitPrim  ,
boost::future< daq::Result< daq::DpParts >>  daq::op::AwaitOpParams 
)

◆ MOCK_METHOD1() [2/2]

MockAsyncOperations::MOCK_METHOD1 ( Start  ,
boost::future< void >  daq::op::AsyncOpParams 
)

◆ MOCK_METHOD2() [1/2]

MockAsyncOperations::MOCK_METHOD2 ( Abort  ,
boost::future< daq::Result< void >>  daq::ErrorPolicy, daq::op::AsyncOpParams 
)

◆ MOCK_METHOD2() [2/2]

MockAsyncOperations::MOCK_METHOD2 ( Stop  ,
boost::future< daq::Result< daq::DpParts >>  daq::ErrorPolicy, daq::op::AsyncOpParams 
)

Member Data Documentation

◆ mock_abort

MockAbort MockAsyncOperations::mock_abort

Definition at line 36 of file mockAsyncOperations.hpp.


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