3#ifndef _RandomListGeneratorSet_0_dunedaq__listrev__dal_0_listrev_dal_H_
4#define _RandomListGeneratorSet_0_dunedaq__listrev__dal_0_listrev_dal_H_
22 class RandomDataListGenerator;
43 virtual
void init(
bool init_children);
61 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
101 const std::vector<const dunedaq::listrev::dal::RandomDataListGenerator*>&
104 std::lock_guard scoped_lock(
m_mutex);
109 std::ostringstream text;
110 text <<
"relationship \"" <<
s_generators <<
"\" of object " <<
this <<
" is empty";
124 set_generators(
const std::vector<const dunedaq::listrev::dal::RandomDataListGenerator*>& value);
132 return obj.print_object(s);
The base class for any generated DAL object.
std::mutex m_mutex
Used to protect changes of DAL 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.
RandomListGeneratorSet(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
static const std::string & __get_generators_str() noexcept
friend class conffwk::DalFactory
void set_generators(const std::vector< const dunedaq::listrev::dal::RandomDataListGenerator * > &value)
Set "generators" relationship value.
static const std::string s_generators
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::vector< const dunedaq::listrev::dal::RandomDataListGenerator * > & get_generators() const
Get "generators" relationship value.
virtual ~RandomListGeneratorSet() noexcept
static const std::string & s_class_name
friend class conffwk::DalObject
virtual void init(bool init_children)
std::vector< const dunedaq::listrev::dal::RandomDataListGenerator * > m_generators
std::ostream & operator<<(std::ostream &s, const ListReverser &obj)
std::vector< constRandomListGeneratorSet * >::const_iterator RandomListGeneratorSetIterator