3#ifndef _SocketDataSender_0_dunedaq__appmodel_0_appmodel_H_
4#define _SocketDataSender_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;
97 inline static const std::string
TCP =
"TCP";
98 inline static const std::string
UDP =
"UDP";
111 std::lock_guard scoped_lock(
m_mutex);
127 std::lock_guard scoped_lock(
m_mutex);
143 std::lock_guard scoped_lock(
m_mutex);
158 std::lock_guard scoped_lock(
m_mutex);
174 std::lock_guard scoped_lock(
m_mutex);
189 std::lock_guard scoped_lock(
m_mutex);
200 inline std::ostream&
operator<<(std::ostream& s,
const SocketDataSender&
obj)
202 return obj.print_object(s);
friend class conffwk::DalRegistry
static const std::string s_remote_port
uint32_t get_local_port() const
Get "local_port" attribute value.
static const std::string & __get_socket_type_str() noexcept
static const std::string & __get_local_port_str() noexcept
std::string m_socket_type
virtual void init(bool init_children)
uint32_t get_remote_port() const
Get "remote_port" attribute value.
static const std::string s_socket_type
void set_socket_type(const std::string &value)
Set "socket_type" attribute value. Socket type.
static const std::string & __get_remote_port_str() noexcept
void set_remote_port(uint32_t value)
Set "remote_port" attribute value.
SocketDataSender(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
virtual ~SocketDataSender() noexcept
friend class conffwk::DalFactory
const std::string & get_socket_type() const
Get "socket_type" attribute value. 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...
friend class conffwk::DalObject
virtual void print(unsigned int offset, bool print_header, std::ostream &s) const
Print details of the SocketDataSender object.
friend class conffwk::Configuration
static const std::string s_local_port
void set_local_port(uint32_t value)
Set "local_port" attribute value.
static const std::string & s_class_name
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< constSocketDataSender * >::const_iterator SocketDataSenderIterator
static const std::string TCP
static const std::string UDP