ifw-daq
3.0.0-pre2
IFW Data Acquisition modules
|
Abstract factory for DaqControllers. More...
#include <daqController.hpp>
Public Member Functions | |
virtual auto | MakeOcmPhase (DaqContext daq_ctx, std::shared_ptr< ObservableStatus > status, std::shared_ptr< ObservableEventLog > event_log) -> std::shared_ptr< DaqController >=0 |
Create instance for the OCM phase of the DAQ process. More... | |
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. More... | |
Abstract factory for DaqControllers.
Main purpose is to allow daq::Manager to use a factory that creates mocks rather than real implementations for testing.
Definition at line 77 of file daqController.hpp.
|
pure virtual |
Create instance for the DPM phase of the DAQ process.
Implemented in daq::DaqControllerFactoryFake, and daq::DaqControllerFactoryDefault.
|
pure virtual |
Create instance for the OCM phase of the DAQ process.
Implemented in daq::DaqControllerFactoryFake, and daq::DaqControllerFactoryDefault.