DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
RecorderConcept.hpp
Go to the documentation of this file.
1
8#ifndef DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_CONCEPTS_RECORDERCONCEPT_HPP_
9#define DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_CONCEPTS_RECORDERCONCEPT_HPP_
10
13//#include "datahandlinglibs/recorderconfig/Structs.hpp"
17
18#include <atomic>
19#include <fstream>
20#include <iostream>
21#include <memory>
22#include <string>
23#include <utility>
24
25namespace dunedaq {
26namespace datahandlinglibs {
27
29{
30public:
32 virtual ~RecorderConcept() {}
37
38 virtual void init(const appmodel::DataRecorderModule* mcfg) = 0;
39
40 // Commands
41 virtual void do_conf(const nlohmann::json& args) = 0;
42 virtual void do_start(const nlohmann::json& obj) = 0;
43 virtual void do_stop(const nlohmann::json& obj) = 0;
44 virtual void do_scrap(const nlohmann::json& obj) = 0;
45};
46
47} // namespace datahandlinglibs
48} // namespace dunedaq
49
50#endif // DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_CONCEPTS_RECORDERCONCEPT_HPP_
virtual void do_stop(const nlohmann::json &obj)=0
RecorderConcept & operator=(const RecorderConcept &)=delete
virtual void do_start(const nlohmann::json &obj)=0
virtual void do_conf(const nlohmann::json &args)=0
RecorderConcept(RecorderConcept &&)=delete
RecorderConcept(const RecorderConcept &)=delete
virtual void do_scrap(const nlohmann::json &obj)=0
virtual void init(const appmodel::DataRecorderModule *mcfg)=0
RecorderConcept & operator=(RecorderConcept &&)=delete
Including Qt Headers.