ifw-daq 3.1.0
IFW Data Acquisition modules
Loading...
Searching...
No Matches
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, fits::KeywordFormatter const &kw_formatter) -> std::shared_ptr< DaqController > override
 Create instance for the OCM phase of the DAQ process.
 
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.
 
virtual auto MakeOcmPhase (DaqContext daq_ctx, std::shared_ptr< ObservableStatus > status, std::shared_ptr< ObservableEventLog > event_log, fits::KeywordFormatter const &kw_formatter) -> std::shared_ptr< DaqController >=0
 Create instance for the OCM phase of the DAQ process.
 
virtual auto MakeDpmPhase (DaqContext daq_ctx, std::shared_ptr< ObservableStatus > status, std::shared_ptr< ObservableEventLog > event_log) -> std::shared_ptr< DaqController >=0
 Create instance for the DPM phase of the DAQ process.
 

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 59 of file daqController.hpp.

◆ MakeOcmPhase()

auto daq::DaqControllerFactoryFake::MakeOcmPhase ( DaqContext  daq_ctx,
std::shared_ptr< ObservableStatus status,
std::shared_ptr< ObservableEventLog event_log,
fits::KeywordFormatter const &  kw_formatter 
) -> 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 67 of file daqController.hpp.

◆ ocm_mocks

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

Definition at line 66 of file daqController.hpp.


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