ifw-daq 3.1.0
IFW Data Acquisition modules
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
daq::dpm::FakeRsyncFactory Struct Reference

Public Types

using Hook = std::function< void(MockRsyncAsyncProcess &)>
 

Public Member Functions

std::unique_ptr< RsyncAsyncProcessIfoperator() (boost::asio::io_context &, std::string, std::string, RsyncOptions const &, RsyncAsyncProcess::DryRun)
 
void AddDefaultExpectations (MockRsyncAsyncProcess &mock) const
 
void SetHook (Hook f)
 

Public Attributes

std::vector< MockRsyncAsyncProcess * > procs
 
Hook hook
 
std::vector< std::string > rsync_dummy_args
 

Detailed Description

Definition at line 27 of file testDaqController.cpp.

Member Typedef Documentation

◆ Hook

Definition at line 28 of file testDaqController.cpp.

Member Function Documentation

◆ AddDefaultExpectations()

void daq::dpm::FakeRsyncFactory::AddDefaultExpectations ( MockRsyncAsyncProcess mock) const
inline

Definition at line 43 of file testDaqController.cpp.

◆ operator()()

std::unique_ptr< RsyncAsyncProcessIf > daq::dpm::FakeRsyncFactory::operator() ( boost::asio::io_context &  ,
std::string  ,
std::string  ,
RsyncOptions const &  ,
RsyncAsyncProcess::DryRun   
)
inline

Definition at line 29 of file testDaqController.cpp.

◆ SetHook()

void daq::dpm::FakeRsyncFactory::SetHook ( Hook  f)
inline

Definition at line 47 of file testDaqController.cpp.

Member Data Documentation

◆ hook

Hook daq::dpm::FakeRsyncFactory::hook

Definition at line 51 of file testDaqController.cpp.

◆ procs

std::vector<MockRsyncAsyncProcess*> daq::dpm::FakeRsyncFactory::procs

Definition at line 50 of file testDaqController.cpp.

◆ rsync_dummy_args

std::vector<std::string> daq::dpm::FakeRsyncFactory::rsync_dummy_args

Definition at line 52 of file testDaqController.cpp.


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