3#ifndef _DataWriterConf_0_dunedaq__appmodel_0_appmodel_H_
4#define _DataWriterConf_0_dunedaq__appmodel_0_appmodel_H_
40 virtual
void init(
bool init_children);
58 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
111 std::lock_guard scoped_lock(
m_mutex);
126 std::lock_guard scoped_lock(
m_mutex);
142 std::lock_guard scoped_lock(
m_mutex);
157 std::lock_guard scoped_lock(
m_mutex);
173 std::lock_guard scoped_lock(
m_mutex);
188 std::lock_guard scoped_lock(
m_mutex);
204 std::lock_guard scoped_lock(
m_mutex);
219 std::lock_guard scoped_lock(
m_mutex);
242 std::lock_guard scoped_lock(
m_mutex);
247 std::ostringstream text;
248 text <<
"relationship \"" <<
s_data_store_params <<
"\" of object " <<
this <<
" is not set";
270 return obj.print_object(s);
const dunedaq::appmodel::DataStoreConf * m_data_store_params
static const std::string s_write_retry_time_increase_factor
int32_t m_data_storage_prescale
void set_data_store_params(const dunedaq::appmodel::DataStoreConf *value)
Set "data_store_params" relationship value.
virtual void init(bool init_children)
void set_max_write_retry_time_ms(int32_t value)
Set "max_write_retry_time_ms" attribute value.
int32_t get_data_storage_prescale() const
Get "data_storage_prescale" attribute value.
static const std::string & s_class_name
static const std::string & __get_data_store_params_str() noexcept
void set_write_retry_time_increase_factor(int32_t value)
Set "write_retry_time_increase_factor" attribute value.
DataWriterConf(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
int32_t m_max_write_retry_time_ms
static const std::string s_min_write_retry_time_ms
int32_t m_min_write_retry_time_ms
int32_t get_min_write_retry_time_ms() const
Get "min_write_retry_time_ms" attribute value.
static const std::string & __get_max_write_retry_time_ms_str() noexcept
int32_t get_write_retry_time_increase_factor() const
Get "write_retry_time_increase_factor" attribute value.
static const std::string & __get_data_storage_prescale_str() noexcept
const dunedaq::appmodel::DataStoreConf * get_data_store_params() const
Get "data_store_params" relationship value.
friend class conffwk::DalFactory
int32_t get_max_write_retry_time_ms() const
Get "max_write_retry_time_ms" attribute value.
virtual ~DataWriterConf() noexcept
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_data_storage_prescale
static const std::string & __get_min_write_retry_time_ms_str() noexcept
friend class conffwk::DalObject
static const std::string & __get_write_retry_time_increase_factor_str() noexcept
void set_min_write_retry_time_ms(int32_t value)
Set "min_write_retry_time_ms" attribute value.
static const std::string s_data_store_params
void set_data_storage_prescale(int32_t value)
Set "data_storage_prescale" attribute value.
int32_t m_write_retry_time_increase_factor
static const std::string s_max_write_retry_time_ms
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::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)
std::vector< constDataWriterConf * >::const_iterator DataWriterConfIterator