3#ifndef _NetworkDevice_0_dunedaq__confmodel_0_confmodel_H_
4#define _NetworkDevice_0_dunedaq__confmodel_0_confmodel_H_
35 virtual
void init(
bool init_children);
53 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
97 std::lock_guard scoped_lock(
m_mutex);
113 std::lock_guard scoped_lock(
m_mutex);
124 inline std::ostream&
operator<<(std::ostream& s,
const NetworkDevice& obj)
126 return obj.print_object(s);
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 s_pcie_addr
static const std::string & __get_pcie_addr_str() noexcept
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...
virtual void init(bool init_children)
void set_pcie_addr(const std::string &value)
Set "pcie_addr" attribute value. PCIe address of NIC on readout host.
friend class conffwk::DalFactory
NetworkDevice(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
friend class conffwk::DalObject
const std::string & get_pcie_addr() const
Get "pcie_addr" attribute value. PCIe address of NIC on readout host.
virtual ~NetworkDevice() noexcept
std::vector< constNetworkDevice * >::const_iterator NetworkDeviceIterator
std::ostream & operator<<(std::ostream &s, const ActionPlan &obj)