3#ifndef _TimingFanoutDevice_0_dunedaq__timinglibs__dal_0_timinglibs_dal_H_
4#define _TimingFanoutDevice_0_dunedaq__timinglibs__dal_0_timinglibs_dal_H_
39 virtual
void init(
bool init_children);
57 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
88 inline static const
std::
string s_device = "device";
104 std::lock_guard scoped_lock(
m_mutex);
120 std::lock_guard scoped_lock(
m_mutex);
137 std::lock_guard scoped_lock(
m_mutex);
153 std::lock_guard scoped_lock(
m_mutex);
164 inline std::ostream&
operator<<(std::ostream& s,
const TimingFanoutDevice& obj)
166 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...
virtual ~TimingFanoutDevice() noexcept
static const std::string s_fanout_slot
void set_device(const std::string &value)
Set "device" attribute value. Device name of the fanout.
friend class conffwk::DalFactory
static const std::string & __get_fanout_slot_str() noexcept
void set_fanout_slot(uint32_t value)
Set "fanout_slot" attribute value. Fanout slot of the device.
static const std::string & s_class_name
static const std::string s_device
TimingFanoutDevice(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
friend class conffwk::DalObject
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 & __get_device_str() noexcept
virtual void init(bool init_children)
uint32_t get_fanout_slot() const
Get "fanout_slot" attribute value. Fanout slot of the device.
const std::string & get_device() const
Get "device" attribute value. Device name of the fanout.
std::vector< constTimingFanoutDevice * >::const_iterator TimingFanoutDeviceIterator
std::ostream & operator<<(std::ostream &s, const EndpointLocation &obj)