3#ifndef _Service_0_dunedaq__confmodel_0_confmodel_H_
4#define _Service_0_dunedaq__confmodel_0_confmodel_H_
31 virtual
void init(
bool init_children);
49 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
101 std::lock_guard scoped_lock(
m_mutex);
116 std::lock_guard scoped_lock(
m_mutex);
132 std::lock_guard scoped_lock(
m_mutex);
147 std::lock_guard scoped_lock(
m_mutex);
163 std::lock_guard scoped_lock(
m_mutex);
178 std::lock_guard scoped_lock(
m_mutex);
194 std::lock_guard scoped_lock(
m_mutex);
209 std::lock_guard scoped_lock(
m_mutex);
222 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...
const std::string & get_eth_device_name() const
Get "eth_device_name" attribute value.
Service(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
static const std::string s_port
void set_protocol(const std::string &value)
Set "protocol" attribute value.
const std::string & get_protocol() const
Get "protocol" attribute value.
void set_path(const std::string &value)
Set "path" attribute value.
static const std::string & __get_eth_device_name_str() noexcept
static const std::string & __get_path_str() noexcept
static const std::string s_eth_device_name
virtual void init(bool init_children)
static const std::string & s_class_name
static const std::string & __get_protocol_str() noexcept
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...
std::string m_eth_device_name
friend class conffwk::DalFactory
static const std::string & __get_port_str() noexcept
static const std::string s_protocol
static const std::string s_path
friend class conffwk::DalObject
void set_eth_device_name(const std::string &value)
Set "eth_device_name" attribute value.
void set_port(uint16_t value)
Set "port" attribute value.
const std::string & get_path() const
Get "path" attribute value.
uint16_t get_port() const
Get "port" attribute value.
virtual ~Service() noexcept
std::vector< constService * >::const_iterator ServiceIterator
std::ostream & operator<<(std::ostream &s, const ActionPlan &obj)