3#ifndef _DataRecorderConf_0_dunedaq__appmodel_0_appmodel_H_
4#define _DataRecorderConf_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;
101 std::lock_guard scoped_lock(
m_mutex);
116 std::lock_guard scoped_lock(
m_mutex);
132 std::lock_guard scoped_lock(
m_mutex);
147 std::lock_guard scoped_lock(
m_mutex);
163 std::lock_guard scoped_lock(
m_mutex);
178 std::lock_guard scoped_lock(
m_mutex);
195 std::lock_guard scoped_lock(
m_mutex);
211 std::lock_guard scoped_lock(
m_mutex);
222 inline std::ostream&
operator<<(std::ostream& s,
const DataRecorderConf& obj)
224 return obj.print_object(s);
virtual void init(bool init_children)
static const std::string & __get_compression_algorithm_str() noexcept
void set_compression_algorithm(const std::string &value)
Set "compression_algorithm" attribute value.
static const std::string & __get_output_file_str() 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 & __get_use_o_direct_str() noexcept
uint32_t m_streaming_buffer_size
void set_output_file(const std::string &value)
Set "output_file" attribute value.
static const std::string s_use_o_direct
const std::string & get_output_file() const
Get "output_file" attribute value.
void set_use_o_direct(bool value)
Set "use_o_direct" attribute value. Whether to use O_DIRECT flag when opening files.
static const std::string s_streaming_buffer_size
static const std::string & __get_streaming_buffer_size_str() noexcept
void set_streaming_buffer_size(uint32_t value)
Set "streaming_buffer_size" attribute value.
static const std::string s_compression_algorithm
friend class conffwk::DalFactory
bool get_use_o_direct() const
Get "use_o_direct" attribute value. Whether to use O_DIRECT flag when opening files.
std::string m_compression_algorithm
virtual ~DataRecorderConf() noexcept
DataRecorderConf(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
friend class conffwk::DalObject
uint32_t get_streaming_buffer_size() const
Get "streaming_buffer_size" attribute value.
static const std::string & s_class_name
std::string m_output_file
const std::string & get_compression_algorithm() const
Get "compression_algorithm" attribute value.
static const std::string s_output_file
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...
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)
std::vector< constDataRecorderConf * >::const_iterator DataRecorderConfIterator