3#ifndef _HSIReadoutConf_0_dunedaq__appmodel_0_appmodel_H_
4#define _HSIReadoutConf_0_dunedaq__appmodel_0_appmodel_H_
31 virtual
void init(
bool init_children);
49 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
102 std::lock_guard scoped_lock(
m_mutex);
118 std::lock_guard scoped_lock(
m_mutex);
129 struct Uhal_log_level {
130 inline static const std::string
Fatal =
"fatal";
131 inline static const std::string
Error =
"error";
132 inline static const std::string
Warning =
"warning";
133 inline static const std::string
Notice =
"notice";
134 inline static const std::string
Info =
"info";
135 inline static const std::string
Debug =
"debug";
148 std::lock_guard scoped_lock(
m_mutex);
164 std::lock_guard scoped_lock(
m_mutex);
181 std::lock_guard scoped_lock(
m_mutex);
197 std::lock_guard scoped_lock(
m_mutex);
213 std::lock_guard scoped_lock(
m_mutex);
228 std::lock_guard scoped_lock(
m_mutex);
241 return obj.print_object(s);
void set_uhal_log_level(const std::string &value)
Set "uhal_log_level" attribute value. Log level for uhal.
static const std::string & __get_readout_period_str() noexcept
std::string m_hsi_device_name
static const std::string & __get_connections_file_str() noexcept
void set_hsi_device_name(const std::string &value)
Set "hsi_device_name" attribute value.
static const std::string s_hsi_device_name
uint64_t get_readout_period() const
Get "readout_period" attribute value. Hardware device poll period [us].
virtual ~HSIReadoutConf() noexcept
void set_readout_period(uint64_t value)
Set "readout_period" attribute value. Hardware device poll period [us].
std::string m_uhal_log_level
HSIReadoutConf(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
friend class conffwk::DalFactory
virtual void init(bool init_children)
static const std::string s_readout_period
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_class_name
static const std::string & __get_uhal_log_level_str() noexcept
friend class conffwk::DalObject
uint64_t m_readout_period
const std::string & get_hsi_device_name() const
Get "hsi_device_name" attribute value.
const std::string & get_connections_file() const
Get "connections_file" attribute value. device connections file.
const std::string & get_uhal_log_level() const
Get "uhal_log_level" attribute value. Log level for uhal.
static const std::string s_connections_file
void set_connections_file(const std::string &value)
Set "connections_file" attribute value. device connections file.
std::string m_connections_file
static const std::string & __get_hsi_device_name_str() noexcept
static const std::string s_uhal_log_level
void set_by_val(const std::string &name, T value)
Set attribute value.
void set_by_ref(const std::string &name, T &value)
Set attribute value.
void set_enum(const std::string &name, const std::string &value)
Set attribute enumeration 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...
std::vector< constHSIReadoutConf * >::const_iterator HSIReadoutConfIterator
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)
static const std::string Error
static const std::string Fatal
static const std::string Info
static const std::string Warning
static const std::string Debug
static const std::string Notice