3#ifndef _SocketReaderConf_0_dunedaq__appmodel_0_appmodel_H_
4#define _SocketReaderConf_0_dunedaq__appmodel_0_appmodel_H_
34 virtual
void init(
bool init_children);
52 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
94 inline static const std::string
TCP =
"TCP";
95 inline static const std::string
UDP =
"UDP";
108 std::lock_guard scoped_lock(
m_mutex);
124 std::lock_guard scoped_lock(
m_mutex);
141 std::lock_guard scoped_lock(
m_mutex);
157 std::lock_guard scoped_lock(
m_mutex);
168 inline std::ostream&
operator<<(std::ostream& s,
const SocketReaderConf& obj)
170 return obj.print_object(s);
virtual void init(bool init_children)
static const std::string s_socket_type
const std::string & get_local_ip() const
Get "local_ip" attribute value. Local IP address.
void set_socket_type(const std::string &value)
Set "socket_type" attribute value. Socket type.
static const std::string & __get_local_ip_str() noexcept
std::string m_socket_type
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 std::string & get_socket_type() const
Get "socket_type" attribute value. Socket type.
friend class conffwk::DalFactory
SocketReaderConf(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
friend class conffwk::DalObject
virtual ~SocketReaderConf() noexcept
static const std::string & __get_socket_type_str() noexcept
static const std::string & s_class_name
static const std::string s_local_ip
void set_local_ip(const std::string &value)
Set "local_ip" attribute value. Local IP address.
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...
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)
std::vector< constSocketReaderConf * >::const_iterator SocketReaderConfIterator
static const std::string UDP
static const std::string TCP