DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
DataHandlingConcept.hpp
Go to the documentation of this file.
1
9#ifndef DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_CONCEPTS_READOUTCONCEPT_HPP_
10#define DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_CONCEPTS_READOUTCONCEPT_HPP_
11
12#include "appfwk/DAQModule.hpp"
15namespace dunedaq {
16namespace datahandlinglibs {
17
19{
20public:
27
29 virtual void init(const appmodel::DataHandlerModule* mcfg) = 0;
30 virtual void conf(const appfwk::DAQModule::CommandData_t& args) = 0;
31 virtual void scrap(const appfwk::DAQModule::CommandData_t& args) = 0;
32 virtual void start(const appfwk::DAQModule::CommandData_t& args) = 0;
33 virtual void stop(const appfwk::DAQModule::CommandData_t& args) = 0;
34 virtual void record(const appfwk::DAQModule::CommandData_t& args) = 0;
35
37 virtual void run_consume() = 0;
39 virtual void run_timesync() = 0;
40};
41
42} // namespace datahandlinglibs
43} // namespace dunedaq
44
45#endif // DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_CONCEPTS_READOUTCONCEPT_HPP_
virtual void start(const appfwk::DAQModule::CommandData_t &args)=0
virtual void init(const appmodel::DataHandlerModule *mcfg)=0
Forward calls from the appfwk.
virtual void run_consume()=0
Function that will be run in its own thread to read the raw packets from the connection and add them ...
virtual void run_timesync()=0
Function that will be run in its own thread and sends periodic timesync messages by pushing them to t...
DataHandlingConcept(DataHandlingConcept &&)=delete
DataHandlingConcept is not move-constructible.
DataHandlingConcept & operator=(const DataHandlingConcept &)=delete
DataHandlingConcept is not copy-assginable.
virtual void stop(const appfwk::DAQModule::CommandData_t &args)=0
DataHandlingConcept(const DataHandlingConcept &)=delete
DataHandlingConcept is not copy-constructible.
virtual void conf(const appfwk::DAQModule::CommandData_t &args)=0
virtual void scrap(const appfwk::DAQModule::CommandData_t &args)=0
DataHandlingConcept & operator=(DataHandlingConcept &&)=delete
DataHandlingConcept is not move-assignable.
virtual void record(const appfwk::DAQModule::CommandData_t &args)=0
The DUNE-DAQ namespace.