3#ifndef _TimingHardwareManagerConf_0_dunedaq__timinglibs__dal_0_timinglibs_dal_H_
4#define _TimingHardwareManagerConf_0_dunedaq__timinglibs__dal_0_timinglibs_dal_H_
25 class TimingFanoutDevice;
50 virtual
void init(
bool init_children);
68 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
125 std::lock_guard scoped_lock(
m_mutex);
141 std::lock_guard scoped_lock(
m_mutex);
158 std::lock_guard scoped_lock(
m_mutex);
174 std::lock_guard scoped_lock(
m_mutex);
191 std::lock_guard scoped_lock(
m_mutex);
207 std::lock_guard scoped_lock(
m_mutex);
224 std::lock_guard scoped_lock(
m_mutex);
240 std::lock_guard scoped_lock(
m_mutex);
257 std::lock_guard scoped_lock(
m_mutex);
273 std::lock_guard scoped_lock(
m_mutex);
294 const std::vector<const dunedaq::timinglibs::dal::TimingFanoutDevice*>&
297 std::lock_guard scoped_lock(
m_mutex);
320 return obj.print_object(s);
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.
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...
static const std::string & __get_monitored_device_name_endpoint_str() noexcept
static const std::string & s_class_name
uint32_t m_gather_interval_debug
static const std::string s_monitored_device_name_endpoint
static const std::string s_gather_interval_debug
std::string m_monitored_device_name_endpoint
static const std::string & __get_gather_interval_str() noexcept
TimingHardwareManagerConf(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
uint32_t get_gather_interval() const
Get "gather_interval" attribute value. Hardware device data gather interval [us].
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_monitored_device_name_hsi(const std::string &value)
Set "monitored_device_name_hsi" attribute value. Name of hsi device to be monitored.
std::string m_monitored_device_name_hsi
void set_gather_interval_debug(uint32_t value)
Set "gather_interval_debug" attribute value. Hardware device data gather debug interval [us].
const std::string & get_monitored_device_name_hsi() const
Get "monitored_device_name_hsi" attribute value. Name of hsi device to be monitored.
const std::string & get_monitored_device_name_endpoint() const
Get "monitored_device_name_endpoint" attribute value. Name of timing endpoint device to be monitored.
friend class conffwk::DalFactory
static const std::string & __get_gather_interval_debug_str() noexcept
uint32_t get_gather_interval_debug() const
Get "gather_interval_debug" attribute value. Hardware device data gather debug interval [us].
uint32_t m_gather_interval
void set_gather_interval(uint32_t value)
Set "gather_interval" attribute value. Hardware device data gather interval [us].
static const std::string & __get_monitored_device_name_master_str() noexcept
const std::string & get_monitored_device_name_master() const
Get "monitored_device_name_master" attribute value. Name of timing master device to be monitored.
virtual ~TimingHardwareManagerConf() noexcept
void set_monitored_device_name_endpoint(const std::string &value)
Set "monitored_device_name_endpoint" attribute value. Name of timing endpoint device to be monitored.
void set_monitored_device_names_fanout(const std::vector< const dunedaq::timinglibs::dal::TimingFanoutDevice * > &value)
Set "monitored_device_names_fanout" relationship value. Timing fanout devices to be monitored.
static const std::string s_monitored_device_names_fanout
static const std::string & __get_monitored_device_names_fanout_str() noexcept
static const std::string s_gather_interval
static const std::string s_monitored_device_name_hsi
friend class conffwk::DalObject
std::string m_monitored_device_name_master
const std::vector< const dunedaq::timinglibs::dal::TimingFanoutDevice * > & get_monitored_device_names_fanout() const
Get "monitored_device_names_fanout" relationship value. Timing fanout devices to be monitored.
static const std::string s_monitored_device_name_master
virtual void init(bool init_children)
std::vector< const dunedaq::timinglibs::dal::TimingFanoutDevice * > m_monitored_device_names_fanout
static const std::string & __get_monitored_device_name_hsi_str() noexcept
void set_monitored_device_name_master(const std::string &value)
Set "monitored_device_name_master" attribute value. Name of timing master device to be monitored.
std::ostream & operator<<(std::ostream &s, const EndpointLocation &obj)
std::vector< constTimingHardwareManagerConf * >::const_iterator TimingHardwareManagerConfIterator