3#ifndef _ConnectionService_0_dunedaq__confmodel_0_confmodel_H_
4#define _ConnectionService_0_dunedaq__confmodel_0_confmodel_H_
34 virtual
void init(
bool init_children);
52 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
96 std::lock_guard scoped_lock(
m_mutex);
112 std::lock_guard scoped_lock(
m_mutex);
123 inline std::ostream&
operator<<(std::ostream& s,
const ConnectionService& obj)
125 return obj.print_object(s);
void set_by_val(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...
uint16_t get_threads() const
Get "threads" attribute value. Number of worker threads (not the number of workers which are processe...
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...
ConnectionService(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
virtual void init(bool init_children)
friend class conffwk::DalFactory
static const std::string & s_class_name
static const std::string s_threads
friend class conffwk::DalObject
static const std::string & __get_threads_str() noexcept
virtual ~ConnectionService() noexcept
void set_threads(uint16_t value)
Set "threads" attribute value. Number of worker threads (not the number of workers which are processe...
std::vector< constConnectionService * >::const_iterator ConnectionServiceIterator
std::ostream & operator<<(std::ostream &s, const ActionPlan &obj)