3#ifndef _NetworkConnectionDescriptor_0_dunedaq__appmodel_0_appmodel_H_
4#define _NetworkConnectionDescriptor_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;
109 std::lock_guard scoped_lock(
m_mutex);
125 std::lock_guard scoped_lock(
m_mutex);
137 inline static const std::string
KSendRecv =
"kSendRecv";
138 inline static const std::string
KPubSub =
"kPubSub";
150 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);
222 std::lock_guard scoped_lock(
m_mutex);
227 std::ostringstream text;
251 return obj.print_object(s);
static const std::string & s_class_name
static const std::string s_associated_service
NetworkConnectionDescriptor(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
static const std::string & __get_data_type_str() noexcept
static const std::string & __get_uid_base_str() noexcept
static const std::string & __get_connection_type_str() noexcept
const std::string & get_connection_type() const
Get "connection_type" attribute value.
void set_associated_service(const dunedaq::confmodel::Service *value)
Set "associated_service" relationship value. Service provided by this connection.
std::string m_connection_type
const std::string & get_data_type() const
Get "data_type" attribute value. string identifying type of data transferred through this connection.
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...
static const std::string s_uid_base
virtual void init(bool init_children)
friend class conffwk::DalFactory
const dunedaq::confmodel::Service * m_associated_service
static const std::string s_data_type
static const std::string s_connection_type
friend class conffwk::DalObject
virtual ~NetworkConnectionDescriptor() noexcept
const std::string & get_uid_base() const
Get "uid_base" attribute value. Base for UID string. To be combined with a source id.
void set_connection_type(const std::string &value)
Set "connection_type" attribute value.
static const std::string & __get_associated_service_str() noexcept
const dunedaq::confmodel::Service * get_associated_service() const
Get "associated_service" relationship value. Service provided by this connection.
void set_uid_base(const std::string &value)
Set "uid_base" attribute value. Base for UID string. To be combined with a source id.
void set_data_type(const std::string &value)
Set "data_type" attribute value. string identifying type of data transferred through this connection.
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...
Generic configuration exception.
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)
std::vector< constNetworkConnectionDescriptor * >::const_iterator NetworkConnectionDescriptorIterator
static const std::string KSendRecv
static const std::string KPubSub