ifw-daq
2.1.0-pre1
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 76 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.