3#ifndef _HSI2TCTranslatorConf_0_dunedaq__appmodel_0_appmodel_H_
4#define _HSI2TCTranslatorConf_0_dunedaq__appmodel_0_appmodel_H_
24 class HSISignalWindow;
43 virtual
void init(
bool init_children);
61 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
109 std::lock_guard scoped_lock(
m_mutex);
125 std::lock_guard scoped_lock(
m_mutex);
142 std::lock_guard scoped_lock(
m_mutex);
158 std::lock_guard scoped_lock(
m_mutex);
179 const std::vector<const dunedaq::appmodel::HSISignalWindow*>&
182 std::lock_guard scoped_lock(
m_mutex);
187 std::ostringstream text;
188 text <<
"relationship \"" <<
s_signals <<
"\" of object " <<
this <<
" is empty";
203 set_signals(
const std::vector<const dunedaq::appmodel::HSISignalWindow*>& value);
211 return obj.print_object(s);
static const std::string & s_class_name
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...
static const std::string s_signals
static const std::string & __get_signals_str() noexcept
const std::vector< const dunedaq::appmodel::HSISignalWindow * > & get_signals() const
Get "signals" relationship value. HSI signal bit-to-TC map, including TC type and TC window size.
static const std::string & __get_latency_monitoring_str() noexcept
void set_signals(const std::vector< const dunedaq::appmodel::HSISignalWindow * > &value)
Set "signals" relationship value. HSI signal bit-to-TC map, including TC type and TC window size.
uint32_t get_prescale() const
Get "prescale" attribute value. Prescale factor to apply to HSIEvent input.
virtual void init(bool init_children)
friend class conffwk::DalFactory
HSI2TCTranslatorConf(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
void set_latency_monitoring(bool value)
Set "latency_monitoring" attribute value. Should we monitor latency in Grafana?
static const std::string & __get_prescale_str() noexcept
static const std::string s_latency_monitoring
friend class conffwk::DalObject
static const std::string s_prescale
bool m_latency_monitoring
virtual ~HSI2TCTranslatorConf() noexcept
std::vector< const dunedaq::appmodel::HSISignalWindow * > m_signals
bool get_latency_monitoring() const
Get "latency_monitoring" attribute value. Should we monitor latency in Grafana?
void set_prescale(uint32_t value)
Set "prescale" attribute value. Prescale factor to apply to HSIEvent input.
void set_by_val(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::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)
std::vector< constHSI2TCTranslatorConf * >::const_iterator HSI2TCTranslatorConfIterator