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
14namespace dunedaq {
15namespace datahandlinglibs {
16
18{
19public:
26
28 virtual void init(const appmodel::DataHandlerModule* mcfg) = 0;
29 virtual void conf(const nlohmann::json& args) = 0;
30 virtual void scrap(const nlohmann::json& args) = 0;
31 virtual void start(const nlohmann::json& args) = 0;
32 virtual void stop(const nlohmann::json& args) = 0;
33 virtual void record(const nlohmann::json& args) = 0;
34
36 virtual void run_consume() = 0;
38 virtual void run_timesync() = 0;
39};
40
41} // namespace datahandlinglibs
42} // namespace dunedaq
43
44#endif // DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_CONCEPTS_READOUTCONCEPT_HPP_
virtual void init(const appmodel::DataHandlerModule *mcfg)=0
Forward calls from the appfwk.
virtual void stop(const nlohmann::json &args)=0
virtual void conf(const nlohmann::json &args)=0
virtual void record(const nlohmann::json &args)=0
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.
DataHandlingConcept(const DataHandlingConcept &)=delete
DataHandlingConcept is not copy-constructible.
DataHandlingConcept & operator=(DataHandlingConcept &&)=delete
DataHandlingConcept is not move-assignable.
virtual void scrap(const nlohmann::json &args)=0
virtual void start(const nlohmann::json &args)=0
Including Qt Headers.