3#ifndef _WIBModuleConf_0_dunedaq__appmodel_0_appmodel_H_
4#define _WIBModuleConf_0_dunedaq__appmodel_0_appmodel_H_
40 virtual
void init(
bool init_children);
58 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
105 std::lock_guard scoped_lock(
m_mutex);
120 std::lock_guard scoped_lock(
m_mutex);
136 std::lock_guard scoped_lock(
m_mutex);
151 std::lock_guard scoped_lock(
m_mutex);
160 inline static const std::string
s_settings =
"settings";
174 std::lock_guard scoped_lock(
m_mutex);
179 std::ostringstream text;
180 text <<
"relationship \"" <<
s_settings <<
"\" of object " <<
this <<
" is not set";
202 return obj.print_object(s);
static const std::string & s_class_name
static const std::string s_communication_type
uint32_t m_communication_port
virtual ~WIBModuleConf() noexcept
WIBModuleConf(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
static const std::string s_communication_port
uint32_t get_communication_port() const
Get "communication_port" attribute value.
const dunedaq::appmodel::WIBSettings * get_settings() const
Get "settings" relationship value.
const std::string & get_communication_type() const
Get "communication_type" attribute value.
static const std::string & __get_communication_type_str() noexcept
const dunedaq::appmodel::WIBSettings * m_settings
std::string m_communication_type
static const std::string s_settings
static const std::string & __get_communication_port_str() noexcept
friend class conffwk::DalFactory
static const std::string & __get_settings_str() noexcept
void set_settings(const dunedaq::appmodel::WIBSettings *value)
Set "settings" relationship value.
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...
void set_communication_port(uint32_t value)
Set "communication_port" attribute value.
virtual void init(bool init_children)
friend class conffwk::DalObject
void set_communication_type(const std::string &value)
Set "communication_type" attribute value.
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...
Generic configuration exception.
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)
std::vector< constWIBModuleConf * >::const_iterator WIBModuleConfIterator