3#ifndef _FakeHSIEventGeneratorConf_0_dunedaq__appmodel_0_appmodel_H_
4#define _FakeHSIEventGeneratorConf_0_dunedaq__appmodel_0_appmodel_H_
31 virtual
void init(
bool init_children);
49 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
108 std::lock_guard scoped_lock(
m_mutex);
124 std::lock_guard scoped_lock(
m_mutex);
141 std::lock_guard scoped_lock(
m_mutex);
157 std::lock_guard scoped_lock(
m_mutex);
174 std::lock_guard scoped_lock(
m_mutex);
190 std::lock_guard scoped_lock(
m_mutex);
207 std::lock_guard scoped_lock(
m_mutex);
223 std::lock_guard scoped_lock(
m_mutex);
240 std::lock_guard scoped_lock(
m_mutex);
256 std::lock_guard scoped_lock(
m_mutex);
273 std::lock_guard scoped_lock(
m_mutex);
289 std::lock_guard scoped_lock(
m_mutex);
302 return obj.print_object(s);
void set_hsi_device_id(uint32_t value)
Set "hsi_device_id" attribute value. HSI device ID for emulated HSIEvent messages.
FakeHSIEventGeneratorConf(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
virtual void init(bool init_children)
static const std::string & __get_hsi_device_id_str() noexcept
uint32_t get_hsi_device_id() const
Get "hsi_device_id" attribute value. HSI device ID for emulated HSIEvent messages.
void set_trigger_rate(double value)
Set "trigger_rate" attribute value. Trigger rate (in Hz) for the HSIEvent generation.
static const std::string s_enabled_signals
void set_signal_emulation_mode(uint32_t value)
Set "signal_emulation_mode" attribute value. Signal bit map emulation mode. 0: enabled signals always...
static const std::string & __get_mean_signal_multiplicity_str() noexcept
static const std::string & __get_timestamp_offset_str() noexcept
int64_t get_timestamp_offset() const
Get "timestamp_offset" attribute value. Offset for HSIEvent timestamps in units of clock ticks....
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::DalFactory
void set_mean_signal_multiplicity(uint32_t value)
Set "mean_signal_multiplicity" attribute value. Mean number of edges expected per signal....
static const std::string s_trigger_rate
void set_timestamp_offset(int64_t value)
Set "timestamp_offset" attribute value. Offset for HSIEvent timestamps in units of clock ticks....
uint32_t get_enabled_signals() const
Get "enabled_signals" attribute value. Which signals or bit of the 32 bit signal bit map are enabled,...
static const std::string & s_class_name
static const std::string & __get_enabled_signals_str() noexcept
uint32_t m_signal_emulation_mode
static const std::string & __get_trigger_rate_str() noexcept
virtual ~FakeHSIEventGeneratorConf() noexcept
int64_t m_timestamp_offset
uint32_t m_mean_signal_multiplicity
static const std::string s_hsi_device_id
static const std::string s_signal_emulation_mode
friend class conffwk::DalObject
uint32_t m_enabled_signals
double get_trigger_rate() const
Get "trigger_rate" attribute value. Trigger rate (in Hz) for the HSIEvent generation.
uint32_t get_mean_signal_multiplicity() const
Get "mean_signal_multiplicity" attribute value. Mean number of edges expected per signal....
static const std::string s_timestamp_offset
static const std::string & __get_signal_emulation_mode_str() noexcept
static const std::string s_mean_signal_multiplicity
uint32_t get_signal_emulation_mode() const
Get "signal_emulation_mode" attribute value. Signal bit map emulation mode. 0: enabled signals always...
void set_enabled_signals(uint32_t value)
Set "enabled_signals" attribute value. Which signals or bit of the 32 bit signal bit map are enabled,...
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...
std::vector< constFakeHSIEventGeneratorConf * >::const_iterator FakeHSIEventGeneratorConfIterator
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)