#include <RawDataHandlerBase.hpp>
Definition at line 34 of file RawDataHandlerBase.hpp.
◆ RawDataHandlerBase() [1/3]
dunedaq::datahandlinglibs::RawDataHandlerBase::RawDataHandlerBase |
( |
const std::string & | name | ) |
|
|
explicit |
RawDataHandlerBase Constructor.
- Parameters
-
Definition at line 4 of file RawDataHandlerBase.hxx.
9{
10
11
12
13
14
15
16
17}
std::atomic< bool > m_run_marker
std::shared_ptr< datahandlinglibs::DataHandlingConcept > m_readout_impl
◆ ~RawDataHandlerBase()
virtual dunedaq::datahandlinglibs::RawDataHandlerBase::~RawDataHandlerBase |
( |
| ) |
|
|
inlinevirtual |
◆ RawDataHandlerBase() [2/3]
dunedaq::datahandlinglibs::RawDataHandlerBase::RawDataHandlerBase |
( |
const RawDataHandlerBase & | | ) |
|
|
delete |
◆ RawDataHandlerBase() [3/3]
dunedaq::datahandlinglibs::RawDataHandlerBase::RawDataHandlerBase |
( |
RawDataHandlerBase && | | ) |
|
|
delete |
◆ create_readout()
◆ do_conf()
void dunedaq::datahandlinglibs::RawDataHandlerBase::do_conf |
( |
const nlohmann::json & | args | ) |
|
Definition at line 45 of file RawDataHandlerBase.hxx.
46{
51}
std::string get_dlh_name()
#define TLOG_DEBUG(lvl,...)
@ TLVL_ENTER_EXIT_METHODS
◆ do_record()
void dunedaq::datahandlinglibs::RawDataHandlerBase::do_record |
( |
const nlohmann::json & | args | ) |
|
◆ do_scrap()
void dunedaq::datahandlinglibs::RawDataHandlerBase::do_scrap |
( |
const nlohmann::json & | args | ) |
|
◆ do_start()
void dunedaq::datahandlinglibs::RawDataHandlerBase::do_start |
( |
const nlohmann::json & | args | ) |
|
Definition at line 62 of file RawDataHandlerBase.hxx.
63{
67 rcif::cmd::StartParams start_params =
args.get<rcif::cmd::StartParams>();
71}
daqdataformats::run_number_t m_run_number
◆ do_stop()
void dunedaq::datahandlinglibs::RawDataHandlerBase::do_stop |
( |
const nlohmann::json & | args | ) |
|
◆ get_dlh_name()
std::string dunedaq::datahandlinglibs::RawDataHandlerBase::get_dlh_name |
( |
| ) |
|
|
inline |
◆ init()
void dunedaq::datahandlinglibs::RawDataHandlerBase::init |
( |
std::shared_ptr< appfwk::ConfigurationManager > | cfg | ) |
|
Definition at line 21 of file RawDataHandlerBase.hxx.
22{
23
25 const appmodel::DataHandlerModule* modconf = cfg->get_dal<appmodel::DataHandlerModule>(
get_dlh_name());
26 if(modconf == nullptr) {
27 throw dunedaq::datahandlinglibs::FailedReadoutInitialization(
ERS_HERE,
get_dlh_name(),
"not a DataHandlerModule");
28 }
32 << "Failed to find specialization for given queue setup!";
34 }
36}
virtual std::shared_ptr< dunedaq::datahandlinglibs::DataHandlingConcept > create_readout(const appmodel::DataHandlerModule *modconf, std::atomic< bool > &run_marker)=0
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ m_configured
bool dunedaq::datahandlinglibs::RawDataHandlerBase::m_configured |
|
private |
◆ m_name
std::string dunedaq::datahandlinglibs::RawDataHandlerBase::m_name |
|
private |
◆ m_readout_impl
◆ m_run_marker
std::atomic<bool> dunedaq::datahandlinglibs::RawDataHandlerBase::m_run_marker |
|
private |
◆ m_run_number
The documentation for this class was generated from the following files: