DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
SourceEmulatorConcept.hpp
Go to the documentation of this file.
1
9#ifndef DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_CONCEPTS_SOURCEEMULATORCONCEPT_HPP_
10#define DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_CONCEPTS_SOURCEEMULATORCONCEPT_HPP_
11
16
17#include <map>
18#include <string>
19#include <thread>
20
21namespace dunedaq {
22namespace datahandlinglibs {
23
25{
26public:
28
32 delete;
35
36 virtual void set_sender(const std::string& /*sink_name*/) = 0;
38 virtual void start(const nlohmann::json& /*args*/) = 0;
39 virtual void stop(const nlohmann::json& /*args*/) = 0;
40 virtual void scrap(const nlohmann::json& /*args*/) = 0;
41 virtual bool is_configured() = 0;
42
43private:
44};
45
46} // namespace datahandlinglibs
47} // namespace dunedaq
48
49#endif // DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_CONCEPTS_SOURCEEMULATORCONCEPT_HPP_
virtual void conf(const confmodel::DetectorStream *conf, const appmodel::StreamEmulationParameters *emu_conf)=0
SourceEmulatorConcept & operator=(SourceEmulatorConcept &&)=delete
SourceEmulatorConcept is not move-assignable.
virtual void set_sender(const std::string &)=0
virtual void stop(const nlohmann::json &)=0
virtual void start(const nlohmann::json &)=0
SourceEmulatorConcept & operator=(const SourceEmulatorConcept &)=delete
SourceEmulatorConcept is not copy-assginable.
SourceEmulatorConcept(const SourceEmulatorConcept &)=delete
SourceEmulatorConcept is not copy-constructible.
virtual void scrap(const nlohmann::json &)=0
SourceEmulatorConcept(SourceEmulatorConcept &&)=delete
SourceEmulatorConcept is not move-constructible.
Including Qt Headers.