3#ifndef _WIBModule_0_dunedaq__appmodel_0_appmodel_H_
4#define _WIBModule_0_dunedaq__appmodel_0_appmodel_H_
43 virtual
void init(
bool init_children);
61 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
117 std::lock_guard scoped_lock(
m_mutex);
132 std::lock_guard scoped_lock(
m_mutex);
149 std::lock_guard scoped_lock(
m_mutex);
165 std::lock_guard scoped_lock(
m_mutex);
182 std::lock_guard scoped_lock(
m_mutex);
198 std::lock_guard scoped_lock(
m_mutex);
215 std::lock_guard scoped_lock(
m_mutex);
231 std::lock_guard scoped_lock(
m_mutex);
248 std::lock_guard scoped_lock(
m_mutex);
264 std::lock_guard scoped_lock(
m_mutex);
273 inline static const std::string
s_conf =
"conf";
287 std::lock_guard scoped_lock(
m_mutex);
292 std::ostringstream text;
293 text <<
"relationship \"" <<
s_conf <<
"\" of object " <<
this <<
" is not set";
315 return obj.print_object(s);
WIBModule(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
static const std::string & s_class_name
static const std::string & __get_enabled_femb0_str() noexcept
static const std::string & __get_enabled_femb3_str() noexcept
void set_wib_addr(const std::string &value)
Set "wib_addr" attribute value.
bool get_enabled_femb3() const
Get "enabled_femb3" attribute value. Enable FEMB 3.
static const std::string s_enabled_femb0
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...
bool get_enabled_femb2() const
Get "enabled_femb2" attribute value. Enable FEMB 2.
virtual ~WIBModule() noexcept
static const std::string s_conf
const dunedaq::appmodel::WIBSettings * m_conf
static const std::string s_enabled_femb3
const dunedaq::appmodel::WIBSettings * get_conf() const
Get "conf" relationship value.
friend class conffwk::DalFactory
virtual void init(bool init_children)
static const std::string s_enabled_femb2
static const std::string s_enabled_femb1
static const std::string s_wib_addr
static const std::string & __get_enabled_femb1_str() noexcept
void set_enabled_femb0(bool value)
Set "enabled_femb0" attribute value. Enable FEMB 0.
bool get_enabled_femb0() const
Get "enabled_femb0" attribute value. Enable FEMB 0.
friend class conffwk::DalObject
void set_enabled_femb1(bool value)
Set "enabled_femb1" attribute value. Enable FEMB 1.
static const std::string & __get_enabled_femb2_str() noexcept
void set_enabled_femb2(bool value)
Set "enabled_femb2" attribute value. Enable FEMB 2.
static const std::string & __get_wib_addr_str() noexcept
const std::string & get_wib_addr() const
Get "wib_addr" attribute value.
static const std::string & __get_conf_str() noexcept
bool get_enabled_femb1() const
Get "enabled_femb1" attribute value. Enable FEMB 1.
void set_enabled_femb3(bool value)
Set "enabled_femb3" attribute value. Enable FEMB 3.
void set_conf(const dunedaq::appmodel::WIBSettings *value)
Set "conf" relationship 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< constWIBModule * >::const_iterator WIBModuleIterator