3#ifndef _FixedTimeTCMakerModuleConf_0_dunedaq__appmodel_0_appmodel_H_
4#define _FixedTimeTCMakerModuleConf_0_dunedaq__appmodel_0_appmodel_H_
24 class FixedTimeTCConf;
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);
167 inline static const std::string
s_triggers =
"triggers";
179 const std::vector<const dunedaq::appmodel::FixedTimeTCConf*>&
182 std::lock_guard scoped_lock(
m_mutex);
187 std::ostringstream text;
188 text <<
"relationship \"" <<
s_triggers <<
"\" of object " <<
this <<
" is empty";
203 set_triggers(
const std::vector<const dunedaq::appmodel::FixedTimeTCConf*>& value);
211 return obj.print_object(s);
static const std::string & s_class_name
static const std::string s_wait_time_ms
virtual ~FixedTimeTCMakerModuleConf() noexcept
static const std::string & __get_triggers_str() noexcept
static const std::string & __get_wait_time_ms_str() noexcept
FixedTimeTCMakerModuleConf(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
static const std::string & __get_tc_type_name_str() noexcept
const std::string & get_tc_type_name() const
Get "tc_type_name" attribute value. Enumerator name of the TC type, e.g. kTiming.
std::vector< const dunedaq::appmodel::FixedTimeTCConf * > m_triggers
friend class conffwk::DalFactory
uint64_t get_wait_time_ms() const
Get "wait_time_ms" attribute value. Time to wait between TriggerCandidates.
void set_tc_type_name(const std::string &value)
Set "tc_type_name" attribute value. Enumerator name of the TC type, e.g. kTiming.
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::string m_tc_type_name
const std::vector< const dunedaq::appmodel::FixedTimeTCConf * > & get_triggers() const
Get "triggers" relationship value. Timestamps for the TCs to generate.
static const std::string s_tc_type_name
void set_wait_time_ms(uint64_t value)
Set "wait_time_ms" attribute value. Time to wait between TriggerCandidates.
friend class conffwk::DalObject
virtual void init(bool init_children)
void set_triggers(const std::vector< const dunedaq::appmodel::FixedTimeTCConf * > &value)
Set "triggers" relationship value. Timestamps for the TCs to generate.
static const std::string s_triggers
void set_by_val(const std::string &name, T value)
Set attribute value.
void set_by_ref(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< constFixedTimeTCMakerModuleConf * >::const_iterator FixedTimeTCMakerModuleConfIterator
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)