11#ifndef DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_DATALINKHANDLERBASE_HPP_
12#define DATAHANDLINGLIBS_INCLUDE_DATAHANDLINGLIBS_DATALINKHANDLERBASE_HPP_
20#include "nlohmann/json.hpp"
32namespace datahandlinglibs {
49 void init(std::shared_ptr<appfwk::ConfigurationManager> cfg);
52 virtual std::shared_ptr<dunedaq::datahandlinglibs::DataHandlingConcept>
56 void do_conf(
const nlohmann::json& );
57 void do_scrap(
const nlohmann::json& );
58 void do_start(
const nlohmann::json& );
59 void do_stop(
const nlohmann::json& );
virtual std::shared_ptr< dunedaq::datahandlinglibs::DataHandlingConcept > create_readout(const appmodel::DataHandlerModule *modconf, std::atomic< bool > &run_marker)=0
RawDataHandlerBase & operator=(RawDataHandlerBase &&)=delete
RawDataHandlerBase is not move-assignable.
void do_record(const nlohmann::json &)
daqdataformats::run_number_t m_run_number
RawDataHandlerBase & operator=(const RawDataHandlerBase &)=delete
RawDataHandlerBase is not copy-assignable.
void do_scrap(const nlohmann::json &)
RawDataHandlerBase(const std::string &name)
RawDataHandlerBase Constructor.
void init(std::shared_ptr< appfwk::ConfigurationManager > cfg)
void do_conf(const nlohmann::json &)
RawDataHandlerBase(const RawDataHandlerBase &)=delete
RawDataHandlerBase is not copy-constructible.
std::string get_dlh_name()
virtual ~RawDataHandlerBase()
std::atomic< bool > m_run_marker
void do_start(const nlohmann::json &)
void do_stop(const nlohmann::json &)
RawDataHandlerBase(RawDataHandlerBase &&)=delete
RawDataHandlerBase is not move-constructible.
std::shared_ptr< datahandlinglibs::DataHandlingConcept > m_readout_impl
std::atomic< bool > run_marker
Global atomic for process lifetime.