3#ifndef _VariableBase_0_dunedaq__confmodel_0_confmodel_H_
4#define _VariableBase_0_dunedaq__confmodel_0_confmodel_H_
35 virtual
void init(
bool init_children);
53 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
97 std::lock_guard scoped_lock(
m_mutex);
113 std::lock_guard scoped_lock(
m_mutex);
124 inline std::ostream&
operator<<(std::ostream& s,
const VariableBase& obj)
126 return obj.print_object(s);
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_description
static const std::string & __get_description_str() noexcept
virtual ~VariableBase() noexcept
void set_description(const std::string &value)
Set "description" attribute value. Describes the purpose of the parameter.
friend class conffwk::DalFactory
VariableBase(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
const std::string & get_description() const
Get "description" attribute value. Describes the purpose of the parameter.
static const std::string & s_class_name
friend class conffwk::DalObject
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_description
virtual void init(bool init_children)
std::vector< constVariableBase * >::const_iterator VariableBaseIterator
std::ostream & operator<<(std::ostream &s, const ActionPlan &obj)