3#ifndef _DaphneApplication_0_dunedaq__appmodel_0_appmodel_H_
4#define _DaphneApplication_0_dunedaq__appmodel_0_appmodel_H_
26 class HermesModuleConf;
29 class DetectorToDaqConnection;
49 virtual
void init(
bool init_children);
67 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
116 std::lock_guard scoped_lock(
m_mutex);
121 std::ostringstream text;
122 text <<
"relationship \"" <<
s_configuration <<
"\" of object " <<
this <<
" is not set";
145 const std::vector<const dunedaq::confmodel::DetectorToDaqConnection*>&
148 std::lock_guard scoped_lock(
m_mutex);
174 std::lock_guard scoped_lock(
m_mutex);
209 return obj.print_object(s);
virtual void init(bool init_children)
DaphneApplication(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
void set_detector_connections(const std::vector< const dunedaq::confmodel::DetectorToDaqConnection * > &value)
Set "detector_connections" relationship value. List of detector components controlled by this applica...
const std::vector< const dunedaq::confmodel::DetectorToDaqConnection * > & get_detector_connections() const
Get "detector_connections" relationship value. List of detector components controlled by this applica...
void set_configuration(const dunedaq::appmodel::DaphneConf *value)
Set "configuration" relationship value.
static const std::string & s_class_name
void generate_modules(const confmodel::Session *) const override
std::vector< const dunedaq::confmodel::DetectorToDaqConnection * > m_detector_connections
static const std::string s_detector_connections
static const std::string s_hermes_module_conf
friend class conffwk::DalFactory
const dunedaq::appmodel::DaphneConf * m_configuration
static const std::string & __get_configuration_str() noexcept
const dunedaq::appmodel::HermesModuleConf * m_hermes_module_conf
void set_hermes_module_conf(const dunedaq::appmodel::HermesModuleConf *value)
Set "hermes_module_conf" relationship value.
virtual ~DaphneApplication() 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...
friend class conffwk::DalObject
static const std::string & __get_detector_connections_str() noexcept
virtual std::vector< const Resource * > contained_resources() const override
static const std::string & __get_hermes_module_conf_str() noexcept
const dunedaq::appmodel::HermesModuleConf * get_hermes_module_conf() const
Get "hermes_module_conf" relationship value.
const dunedaq::appmodel::DaphneConf * get_configuration() const
Get "configuration" relationship value.
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< constDaphneApplication * >::const_iterator DaphneApplicationIterator