3#ifndef _ReversedListValidator_0_dunedaq__listrev__dal_0_listrev_dal_H_
4#define _ReversedListValidator_0_dunedaq__listrev__dal_0_listrev_dal_H_
25 class RandomListGeneratorSet;
46 virtual
void init(
bool init_children);
64 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
117 std::lock_guard scoped_lock(
m_mutex);
132 std::lock_guard scoped_lock(
m_mutex);
148 std::lock_guard scoped_lock(
m_mutex);
163 std::lock_guard scoped_lock(
m_mutex);
179 std::lock_guard scoped_lock(
m_mutex);
194 std::lock_guard scoped_lock(
m_mutex);
210 std::lock_guard scoped_lock(
m_mutex);
225 std::lock_guard scoped_lock(
m_mutex);
249 std::lock_guard scoped_lock(
m_mutex);
254 std::ostringstream text;
255 text <<
"relationship \"" <<
s_generatorSet <<
"\" of object " <<
this <<
" is not set";
278 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...
Generic configuration exception.
static const std::string s_generatorSet
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...
static const std::string s_min_list_size
uint32_t get_request_rate_hz() const
Get "request_rate_hz" attribute value.
uint32_t get_max_list_size() const
Get "max_list_size" attribute value.
static const std::string & __get_max_list_size_str() noexcept
void set_max_outstanding_requests(uint32_t value)
Set "max_outstanding_requests" attribute value.
static const std::string & __get_min_list_size_str() noexcept
void set_max_list_size(uint32_t value)
Set "max_list_size" attribute value.
virtual void init(bool init_children)
void set_min_list_size(uint32_t value)
Set "min_list_size" attribute value.
static const std::string & __get_generatorSet_str() noexcept
friend class conffwk::DalFactory
ReversedListValidator(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
uint32_t m_max_outstanding_requests
const dunedaq::listrev::dal::RandomListGeneratorSet * get_generatorSet() const
Get "generatorSet" relationship value. List of Random Data List Generators for this listrev complex.
uint32_t get_min_list_size() const
Get "min_list_size" attribute value.
void set_generatorSet(const dunedaq::listrev::dal::RandomListGeneratorSet *value)
Set "generatorSet" relationship value. List of Random Data List Generators for this listrev complex.
friend class conffwk::DalObject
static const std::string & s_class_name
static const std::string s_max_list_size
const dunedaq::listrev::dal::RandomListGeneratorSet * m_generatorSet
void set_request_rate_hz(uint32_t value)
Set "request_rate_hz" attribute value.
uint32_t m_request_rate_hz
static const std::string & __get_max_outstanding_requests_str() noexcept
uint32_t get_max_outstanding_requests() const
Get "max_outstanding_requests" attribute value.
static const std::string & __get_request_rate_hz_str() noexcept
static const std::string s_request_rate_hz
virtual ~ReversedListValidator() noexcept
static const std::string s_max_outstanding_requests
std::vector< constReversedListValidator * >::const_iterator ReversedListValidatorIterator
std::ostream & operator<<(std::ostream &s, const ListReverser &obj)