3#ifndef _DetectorConfig_0_dunedaq__confmodel_0_confmodel_H_
4#define _DetectorConfig_0_dunedaq__confmodel_0_confmodel_H_
31 virtual
void init(
bool init_children);
49 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
83 inline static const
std::
string s_op_env = "op_env";
102 std::lock_guard scoped_lock(
m_mutex);
118 std::lock_guard scoped_lock(
m_mutex);
134 std::lock_guard scoped_lock(
m_mutex);
149 std::lock_guard scoped_lock(
m_mutex);
166 std::lock_guard scoped_lock(
m_mutex);
182 std::lock_guard scoped_lock(
m_mutex);
199 std::lock_guard scoped_lock(
m_mutex);
215 std::lock_guard scoped_lock(
m_mutex);
226 inline std::ostream&
operator<<(std::ostream& s,
const DetectorConfig& obj)
228 return obj.print_object(s);
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...
DetectorConfig(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
virtual void init(bool init_children)
uint32_t m_clock_speed_hz
void set_op_env(const std::string &value)
Set "op_env" attribute value. Operational environment.
const std::string & get_offline_data_stream() const
Get "offline_data_stream" attribute value. The data stream value that we send to offline.
static const std::string s_op_env
static const std::string s_clock_speed_hz
static const std::string & __get_clock_speed_hz_str() noexcept
void set_clock_speed_hz(uint32_t value)
Set "clock_speed_hz" attribute value.
static const std::string s_offline_data_stream
static const std::string & __get_tpg_channel_map_str() noexcept
static const std::string & s_class_name
friend class conffwk::DalFactory
const std::string & get_op_env() const
Get "op_env" attribute value. Operational environment.
static const std::string & __get_offline_data_stream_str() noexcept
uint32_t get_clock_speed_hz() const
Get "clock_speed_hz" attribute value.
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...
static const std::string s_tpg_channel_map
void set_tpg_channel_map(const std::string &value)
Set "tpg_channel_map" attribute value. Trigger Primitive channel map.
std::string m_offline_data_stream
void set_offline_data_stream(const std::string &value)
Set "offline_data_stream" attribute value. The data stream value that we send to offline.
friend class conffwk::DalObject
virtual ~DetectorConfig() noexcept
std::string m_tpg_channel_map
static const std::string & __get_op_env_str() noexcept
const std::string & get_tpg_channel_map() const
Get "tpg_channel_map" attribute value. Trigger Primitive channel map.
std::vector< constDetectorConfig * >::const_iterator DetectorConfigIterator
std::ostream & operator<<(std::ostream &s, const ActionPlan &obj)