3#ifndef _NWDetDataSender_0_dunedaq__appmodel_0_appmodel_H_
4#define _NWDetDataSender_0_dunedaq__appmodel_0_appmodel_H_
24 class NetworkInterface;
43 virtual
void init(
bool init_children);
61 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
90 inline static const
std::
string s_uses = "uses";
104 std::lock_guard scoped_lock(
m_mutex);
109 std::ostringstream text;
110 text <<
"relationship \"" <<
s_uses <<
"\" of object " <<
this <<
" is not set";
132 return obj.print_object(s);
virtual ~NWDetDataSender() noexcept
static const std::string s_uses
const dunedaq::confmodel::NetworkInterface * m_uses
static const std::string & s_class_name
static const std::string & __get_uses_str() noexcept
friend class conffwk::DalFactory
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...
const dunedaq::confmodel::NetworkInterface * get_uses() const
Get "uses" relationship value.
void set_uses(const dunedaq::confmodel::NetworkInterface *value)
Set "uses" relationship value.
friend class conffwk::DalObject
virtual void init(bool init_children)
NWDetDataSender(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
The base class for any generated DAL object.
std::mutex m_mutex
Used to protect changes of DAL 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::vector< constNWDetDataSender * >::const_iterator NWDetDataSenderIterator
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)