3#ifndef _NetworkConnectionRule_0_dunedaq__appmodel_0_appmodel_H_
4#define _NetworkConnectionRule_0_dunedaq__appmodel_0_appmodel_H_
21 class NetworkConnectionDescriptor;
40 virtual
void init(
bool init_children);
58 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
102 std::lock_guard scoped_lock(
m_mutex);
117 std::lock_guard scoped_lock(
m_mutex);
140 std::lock_guard scoped_lock(
m_mutex);
145 std::ostringstream text;
146 text <<
"relationship \"" <<
s_descriptor <<
"\" of object " <<
this <<
" is not set";
168 return obj.print_object(s);
static const std::string & __get_descriptor_str() noexcept
std::string m_endpoint_class
const dunedaq::appmodel::NetworkConnectionDescriptor * m_descriptor
virtual ~NetworkConnectionRule() noexcept
NetworkConnectionRule(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
const std::string & get_endpoint_class() const
Get "endpoint_class" attribute value.
static const std::string & s_class_name
static const std::string s_descriptor
virtual void init(bool init_children)
friend class conffwk::DalFactory
void set_endpoint_class(const std::string &value)
Set "endpoint_class" attribute value.
static const std::string s_endpoint_class
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...
friend class conffwk::DalObject
const dunedaq::appmodel::NetworkConnectionDescriptor * get_descriptor() const
Get "descriptor" relationship value.
static const std::string & __get_endpoint_class_str() noexcept
void set_descriptor(const dunedaq::appmodel::NetworkConnectionDescriptor *value)
Set "descriptor" relationship value.
void set_class(const std::string &name, const std::string &value)
Set attribute class 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< constNetworkConnectionRule * >::const_iterator NetworkConnectionRuleIterator