3#ifndef _FakeHSIEventGeneratorModule_0_dunedaq__appmodel_0_appmodel_H_
4#define _FakeHSIEventGeneratorModule_0_dunedaq__appmodel_0_appmodel_H_
24 class FakeHSIEventGeneratorConf;
43 virtual
void init(
bool init_children);
61 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
104 std::lock_guard scoped_lock(
m_mutex);
109 std::ostringstream text;
110 text <<
"relationship \"" <<
s_configuration <<
"\" of object " <<
this <<
" is not set";
132 return obj.print_object(s);
virtual ~FakeHSIEventGeneratorModule() noexcept
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 & __get_configuration_str() noexcept
const dunedaq::appmodel::FakeHSIEventGeneratorConf * get_configuration() const
Get "configuration" relationship value.
const dunedaq::appmodel::FakeHSIEventGeneratorConf * m_configuration
friend class conffwk::DalFactory
static const std::string & s_class_name
FakeHSIEventGeneratorModule(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
virtual void init(bool init_children)
void set_configuration(const dunedaq::appmodel::FakeHSIEventGeneratorConf *value)
Set "configuration" relationship value.
friend class conffwk::DalObject
static const std::string s_configuration
The base class for any generated DAL object.
Configuration & configuration() const noexcept
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.
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)
std::vector< constFakeHSIEventGeneratorModule * >::const_iterator FakeHSIEventGeneratorModuleIterator