3#ifndef _DataHandlerConf_0_dunedaq__appmodel_0_appmodel_H_
4#define _DataHandlerConf_0_dunedaq__appmodel_0_appmodel_H_
42 virtual
void init(
bool init_children);
60 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
115 std::lock_guard scoped_lock(
m_mutex);
130 std::lock_guard scoped_lock(
m_mutex);
147 std::lock_guard scoped_lock(
m_mutex);
163 std::lock_guard scoped_lock(
m_mutex);
179 std::lock_guard scoped_lock(
m_mutex);
194 std::lock_guard scoped_lock(
m_mutex);
211 std::lock_guard scoped_lock(
m_mutex);
227 std::lock_guard scoped_lock(
m_mutex);
254 std::lock_guard scoped_lock(
m_mutex);
259 std::ostringstream text;
260 text <<
"relationship \"" <<
s_request_handler <<
"\" of object " <<
this <<
" is not set";
285 std::lock_guard scoped_lock(
m_mutex);
290 std::ostringstream text;
291 text <<
"relationship \"" <<
s_latency_buffer <<
"\" of object " <<
this <<
" is not set";
316 std::lock_guard scoped_lock(
m_mutex);
321 std::ostringstream text;
322 text <<
"relationship \"" <<
s_data_processor <<
"\" of object " <<
this <<
" is not set";
344 return obj.print_object(s);
void set_template_for(const std::string &value)
Set "template_for" attribute value.
static const std::string s_generate_timesync
static const std::string s_latency_buffer
void set_post_processing_delay_ticks(uint64_t value)
Set "post_processing_delay_ticks" attribute value. Number of clock tick by which post processing of i...
static const std::string & __get_template_for_str() noexcept
const std::string & get_input_data_type() const
Get "input_data_type" attribute value. Type of data received by this readout module.
const std::string & get_template_for() const
Get "template_for" attribute value.
const dunedaq::appmodel::LatencyBuffer * get_latency_buffer() const
Get "latency_buffer" relationship value.
virtual void init(bool init_children)
uint64_t get_post_processing_delay_ticks() const
Get "post_processing_delay_ticks" attribute value. Number of clock tick by which post processing of i...
virtual ~DataHandlerConf() noexcept
void set_data_processor(const dunedaq::appmodel::DataProcessor *value)
Set "data_processor" relationship value.
static const std::string s_request_handler
static const std::string s_data_processor
uint64_t m_post_processing_delay_ticks
const dunedaq::appmodel::DataProcessor * get_data_processor() const
Get "data_processor" relationship value.
static const std::string & s_class_name
void set_request_handler(const dunedaq::appmodel::RequestHandler *value)
Set "request_handler" relationship value.
static const std::string s_post_processing_delay_ticks
static const std::string s_template_for
std::string m_input_data_type
void set_generate_timesync(bool value)
Set "generate_timesync" attribute value.
friend class conffwk::DalFactory
static const std::string s_input_data_type
static const std::string & __get_generate_timesync_str() noexcept
static const std::string & __get_post_processing_delay_ticks_str() noexcept
const dunedaq::appmodel::DataProcessor * m_data_processor
static const std::string & __get_request_handler_str() noexcept
const dunedaq::appmodel::RequestHandler * get_request_handler() const
Get "request_handler" relationship value.
friend class conffwk::DalObject
const dunedaq::appmodel::RequestHandler * m_request_handler
static const std::string & __get_input_data_type_str() noexcept
virtual std::vector< const dunedaq::conffwk::DalObject * > get(const std::string &name, bool upcast_unregistered=true) const
Get values of relationships and results of some algorithms as a vector of dunedaq::conffwk::DalObject...
void set_input_data_type(const std::string &value)
Set "input_data_type" attribute value. Type of data received by this readout module.
static const std::string & __get_data_processor_str() noexcept
void set_latency_buffer(const dunedaq::appmodel::LatencyBuffer *value)
Set "latency_buffer" relationship value.
std::string m_template_for
const dunedaq::appmodel::LatencyBuffer * m_latency_buffer
static const std::string & __get_latency_buffer_str() noexcept
bool get_generate_timesync() const
Get "generate_timesync" attribute value.
DataHandlerConf(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
void set_by_val(const std::string &name, T value)
Set attribute value.
void set_class(const std::string &name, const std::string &value)
Set attribute class value.
void set_by_ref(const std::string &name, T &value)
Set attribute value.
The base class for any generated DAL object.
std::mutex m_mutex
Used to protect changes of DAL object.
ConfigObject p_obj
Config object used by given template object.
void check_init() const
Check and initialize object if necessary.
DalRegistry: A registry of DalObjects It provides a single interface to create, cache and manage DalO...
Generic configuration exception.
std::vector< constDataHandlerConf * >::const_iterator DataHandlerConfIterator
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)