3#ifndef _TdeAmcDetDataSender_0_dunedaq__appmodel_0_appmodel_H_
4#define _TdeAmcDetDataSender_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;
108 std::lock_guard scoped_lock(
m_mutex);
123 std::lock_guard scoped_lock(
m_mutex);
139 std::lock_guard scoped_lock(
m_mutex);
154 std::lock_guard scoped_lock(
m_mutex);
177 std::lock_guard scoped_lock(
m_mutex);
182 std::ostringstream text;
183 text <<
"relationship \"" <<
s_control_endpoint <<
"\" of object " <<
this <<
" is not set";
205 return obj.print_object(s);
void set_control_endpoint(const dunedaq::confmodel::NetworkInterface *value)
Set "control_endpoint" relationship value.
static const std::string s_control_host
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 * m_control_endpoint
static const std::string & __get_control_endpoint_str() noexcept
const std::string & get_control_host() const
Get "control_host" attribute value.
TdeAmcDetDataSender(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
static const std::string & s_class_name
static const std::string s_port
static const std::string & __get_control_host_str() noexcept
void set_port(uint32_t value)
Set "port" attribute value.
std::string m_control_host
virtual ~TdeAmcDetDataSender() noexcept
uint32_t get_port() const
Get "port" attribute value.
const dunedaq::confmodel::NetworkInterface * get_control_endpoint() const
Get "control_endpoint" relationship value.
friend class conffwk::DalFactory
static const std::string s_control_endpoint
friend class conffwk::DalObject
static const std::string & __get_port_str() noexcept
void set_control_host(const std::string &value)
Set "control_host" attribute value.
virtual void init(bool init_children)
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< constTdeAmcDetDataSender * >::const_iterator TdeAmcDetDataSenderIterator