3#ifndef _FelixDetectorToDaqConnection_0_dunedaq__appmodel_0_appmodel_H_
4#define _FelixDetectorToDaqConnection_0_dunedaq__appmodel_0_appmodel_H_
24 class FelixDataReceiver;
25 class FelixDataSender;
28 class DetDataReceiver;
48 virtual
void init(
bool init_children);
66 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
112 std::lock_guard scoped_lock(
m_mutex);
117 std::ostringstream text;
118 text <<
"relationship \"" <<
s_felix_receiver <<
"\" of object " <<
this <<
" is not set";
140 const std::vector<const dunedaq::appmodel::FelixDataSender*>&
143 std::lock_guard scoped_lock(
m_mutex);
167 std::vector<const confmodel::DetDataSender*>
senders()
const override;
174 return obj.print_object(s);
const dunedaq::appmodel::FelixDataReceiver * m_felix_receiver
const confmodel::DetDataReceiver * receiver() const override
virtual void init(bool init_children)
static const std::string s_felix_senders
const dunedaq::appmodel::FelixDataReceiver * get_felix_receiver() const
Get "felix_receiver" relationship value.
static const std::string & s_class_name
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...
std::vector< const dunedaq::appmodel::FelixDataSender * > m_felix_senders
friend class conffwk::DalFactory
static const std::string & __get_felix_receiver_str() noexcept
friend class conffwk::DalObject
static const std::string & __get_felix_senders_str() noexcept
void set_felix_receiver(const dunedaq::appmodel::FelixDataReceiver *value)
Set "felix_receiver" relationship value.
static const std::string s_felix_receiver
virtual ~FelixDetectorToDaqConnection() noexcept
FelixDetectorToDaqConnection(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
std::vector< const confmodel::DetDataSender * > senders() const override
const std::vector< const dunedaq::appmodel::FelixDataSender * > & get_felix_senders() const
Get "felix_senders" relationship value.
void set_felix_senders(const std::vector< const dunedaq::appmodel::FelixDataSender * > &value)
Set "felix_senders" relationship value.
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.
std::vector< constFelixDetectorToDaqConnection * >::const_iterator FelixDetectorToDaqConnectionIterator
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)