3#ifndef _Connection_0_dunedaq__confmodel_0_confmodel_H_
4#define _Connection_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;
99 std::lock_guard scoped_lock(
m_mutex);
115 std::lock_guard scoped_lock(
m_mutex);
132 std::lock_guard scoped_lock(
m_mutex);
148 std::lock_guard scoped_lock(
m_mutex);
165 std::lock_guard scoped_lock(
m_mutex);
181 std::lock_guard scoped_lock(
m_mutex);
194 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 s_recv_timeout_ms
uint32_t m_recv_timeout_ms
static const std::string & s_class_name
Connection(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
virtual void init(bool init_children)
uint32_t m_send_timeout_ms
virtual ~Connection() noexcept
static const std::string s_data_type
uint32_t get_recv_timeout_ms() const
Get "recv_timeout_ms" attribute value. Timeout in ms for receiving on this connection.
static const std::string & __get_recv_timeout_ms_str() noexcept
friend class conffwk::DalFactory
void set_data_type(const std::string &value)
Set "data_type" attribute value. String identifying the data that travel through this connection....
static const std::string s_send_timeout_ms
const std::string & get_data_type() const
Get "data_type" attribute value. String identifying the data that travel through this connection....
uint32_t get_send_timeout_ms() const
Get "send_timeout_ms" attribute value. Timeout in ms for sending on this connection.
static const std::string & __get_data_type_str() noexcept
friend class conffwk::DalObject
static const std::string & __get_send_timeout_ms_str() noexcept
void set_send_timeout_ms(uint32_t value)
Set "send_timeout_ms" attribute value. Timeout in ms for sending on this connection.
void set_recv_timeout_ms(uint32_t value)
Set "recv_timeout_ms" attribute value. Timeout in ms for receiving on this connection.
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::vector< constConnection * >::const_iterator ConnectionIterator
std::ostream & operator<<(std::ostream &s, const ActionPlan &obj)