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

Factory that creates mock versions. More...

#include <daqController.hpp>

+ Inheritance diagram for daq::DaqControllerFactoryFake:

Public Member Functions

auto MakeOcmPhase (DaqContext daq_ctx, std::shared_ptr< ObservableStatus > status, std::shared_ptr< ObservableEventLog > event_log) -> std::shared_ptr< DaqController > override
 Create instance for the OCM phase of the DAQ process. More...
 
auto MakeDpmPhase (DaqContext daq_ctx, std::shared_ptr< ObservableStatus > status, std::shared_ptr< ObservableEventLog > event_log) -> std::shared_ptr< DaqController > override
 Create instance for the DPM phase of the DAQ process. More...
 

Public Attributes

std::map< std::string, std::shared_ptr< DaqControllerMock > > ocm_mocks
 
std::map< std::string, std::shared_ptr< DaqControllerMock > > dpm_mocks
 

Detailed Description

Factory that creates mock versions.

Definition at line 51 of file daqController.hpp.

Member Function Documentation

◆ MakeDpmPhase()

auto daq::DaqControllerFactoryFake::MakeDpmPhase ( DaqContext  daq_ctx,
std::shared_ptr< ObservableStatus status,
std::shared_ptr< ObservableEventLog event_log 
) -> std::shared_ptr< DaqController >
inlineoverridevirtual

Create instance for the DPM phase of the DAQ process.

Implements daq::DaqControllerFactory.

Definition at line 58 of file daqController.hpp.

◆ MakeOcmPhase()

auto daq::DaqControllerFactoryFake::MakeOcmPhase ( DaqContext  daq_ctx,
std::shared_ptr< ObservableStatus status,
std::shared_ptr< ObservableEventLog event_log 
) -> std::shared_ptr< DaqController >
inlineoverridevirtual

Create instance for the OCM phase of the DAQ process.

Implements daq::DaqControllerFactory.

Definition at line 52 of file daqController.hpp.

Member Data Documentation

◆ dpm_mocks

std::map<std::string, std::shared_ptr<DaqControllerMock> > daq::DaqControllerFactoryFake::dpm_mocks

Definition at line 66 of file daqController.hpp.

◆ ocm_mocks

std::map<std::string, std::shared_ptr<DaqControllerMock> > daq::DaqControllerFactoryFake::ocm_mocks

Definition at line 65 of file daqController.hpp.


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