ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
Public Member Functions | List of all members
DaqService Class Reference

Public Member Functions

 DaqService (std::string name, daq::ManagerParams manager_params, std::filesystem::path const &workspace, std::string const &output_path, rad::IoExecutor &executor, std::shared_ptr< mal::Mal > mal, rad::cii::Replier &replier, rad::cii::Publisher< daqif::DaqStatus > &publisher, rad::SMAdapter &state_machine, daq::DpmClientParams const &dpm_params)
 
void Register ()
 
void Unregister ()
 
void DaqStatusUpdate (daq::ObservableStatus const &status)
 Is notified of any DAQ status change and will post events to SM on DAQ activity flank changes. More...
 

Detailed Description

Definition at line 51 of file main.cpp.

Constructor & Destructor Documentation

◆ DaqService()

DaqService::DaqService ( std::string  name,
daq::ManagerParams  manager_params,
std::filesystem::path const &  workspace,
std::string const &  output_path,
rad::IoExecutor executor,
std::shared_ptr< mal::Mal >  mal,
rad::cii::Replier &  replier,
rad::cii::Publisher< daqif::DaqStatus > &  publisher,
rad::SMAdapter &  state_machine,
daq::DpmClientParams const &  dpm_params 
)
inline

Definition at line 53 of file main.cpp.

Member Function Documentation

◆ DaqStatusUpdate()

void DaqService::DaqStatusUpdate ( daq::ObservableStatus const &  status)
inline

Is notified of any DAQ status change and will post events to SM on DAQ activity flank changes.

Note
Current implementation assumes all DAQs begin in state NotStarted. When ocm supports loading old status from persistent storage this will no longer work as number of active daqs is not starting at zero and state is not starting at NotStarted.

Definition at line 116 of file main.cpp.

◆ Register()

void DaqService::Register ( )
inline

Definition at line 98 of file main.cpp.

◆ Unregister()

void DaqService::Unregister ( )
inline

Definition at line 103 of file main.cpp.


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