3#ifndef _FelixCardControllerModule_0_dunedaq__appmodel_0_appmodel_H_
4#define _FelixCardControllerModule_0_dunedaq__appmodel_0_appmodel_H_
24 class DetectorToDaqConnection;
43 virtual
void init(
bool init_children);
61 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
109 std::lock_guard scoped_lock(
m_mutex);
125 std::lock_guard scoped_lock(
m_mutex);
142 std::lock_guard scoped_lock(
m_mutex);
158 std::lock_guard scoped_lock(
m_mutex);
178 const std::vector<const dunedaq::confmodel::DetectorToDaqConnection*>&
181 std::lock_guard scoped_lock(
m_mutex);
186 std::ostringstream text;
187 text <<
"relationship \"" <<
s_controls <<
"\" of object " <<
this <<
" is empty";
201 set_controls(
const std::vector<const dunedaq::confmodel::DetectorToDaqConnection*>& value);
209 return obj.print_object(s);
static const std::string s_super_chunk_size
std::vector< const dunedaq::confmodel::DetectorToDaqConnection * > m_controls
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...
uint16_t get_super_chunk_size() const
Get "super_chunk_size" attribute value. Number of chunks in superchunk.
static const std::string & s_class_name
void set_controls(const std::vector< const dunedaq::confmodel::DetectorToDaqConnection * > &value)
Set "controls" relationship value.
const std::vector< const dunedaq::confmodel::DetectorToDaqConnection * > & get_controls() const
Get "controls" relationship value.
static const std::string & __get_controls_str() noexcept
friend class conffwk::DalFactory
virtual ~FelixCardControllerModule() noexcept
void set_emu_fanout(bool value)
Set "emu_fanout" attribute value. Enable emulator.
virtual void init(bool init_children)
uint16_t m_super_chunk_size
void set_super_chunk_size(uint16_t value)
Set "super_chunk_size" attribute value. Number of chunks in superchunk.
friend class conffwk::DalObject
static const std::string & __get_super_chunk_size_str() noexcept
static const std::string & __get_emu_fanout_str() noexcept
FelixCardControllerModule(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
static const std::string s_controls
static const std::string s_emu_fanout
bool get_emu_fanout() const
Get "emu_fanout" attribute value. Enable emulator.
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.
std::vector< constFelixCardControllerModule * >::const_iterator FelixCardControllerModuleIterator
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)