3#ifndef _RCBroadcaster_0_dunedaq__confmodel_0_confmodel_H_
4#define _RCBroadcaster_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;
94 inline static const std::string
Kafka =
"kafka";
95 inline static const std::string
Undefined =
"undefined";
107 std::lock_guard scoped_lock(
m_mutex);
122 std::lock_guard scoped_lock(
m_mutex);
138 std::lock_guard scoped_lock(
m_mutex);
153 std::lock_guard scoped_lock(
m_mutex);
169 std::lock_guard scoped_lock(
m_mutex);
184 std::lock_guard scoped_lock(
m_mutex);
197 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.
void set_enum(const std::string &name, const std::string &value)
Set attribute enumeration 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_class_name
virtual void init(bool init_children)
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...
uint32_t get_publish_timeout() const
Get "publish_timeout" attribute value.
uint32_t m_publish_timeout
static const std::string & __get_address_str() noexcept
const std::string & get_address() const
Get "address" attribute value.
void set_type(const std::string &value)
Set "type" attribute value.
friend class conffwk::DalFactory
void set_publish_timeout(uint32_t value)
Set "publish_timeout" attribute value.
friend class conffwk::DalObject
const std::string & get_type() const
Get "type" attribute value.
RCBroadcaster(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
static const std::string & __get_type_str() noexcept
virtual ~RCBroadcaster() noexcept
static const std::string s_publish_timeout
static const std::string s_address
static const std::string s_type
static const std::string & __get_publish_timeout_str() noexcept
void set_address(const std::string &value)
Set "address" attribute value.
std::vector< constRCBroadcaster * >::const_iterator RCBroadcasterIterator
std::ostream & operator<<(std::ostream &s, const ActionPlan &obj)
static const std::string Undefined
static const std::string Kafka