3#ifndef _TPStreamWriterModule_0_dunedaq__appmodel_0_appmodel_H_
4#define _TPStreamWriterModule_0_dunedaq__appmodel_0_appmodel_H_
24 class TPStreamWriterConf;
43 virtual
void init(
bool init_children);
61 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
108 std::lock_guard scoped_lock(
m_mutex);
123 std::lock_guard scoped_lock(
m_mutex);
139 std::lock_guard scoped_lock(
m_mutex);
154 std::lock_guard scoped_lock(
m_mutex);
177 std::lock_guard scoped_lock(
m_mutex);
182 std::ostringstream text;
183 text <<
"relationship \"" <<
s_configuration <<
"\" of object " <<
this <<
" is not set";
205 return obj.print_object(s);
virtual ~TPStreamWriterModule() noexcept
static const std::string & __get_source_id_str() noexcept
virtual void init(bool init_children)
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_configuration
static const std::string & __get_configuration_str() noexcept
void set_source_id(uint32_t value)
Set "source_id" attribute value.
friend class conffwk::DalFactory
uint32_t get_source_id() const
Get "source_id" attribute value.
const std::string & get_writer_identifier() const
Get "writer_identifier" attribute value.
static const std::string & s_class_name
static const std::string s_source_id
const dunedaq::appmodel::TPStreamWriterConf * m_configuration
static const std::string s_writer_identifier
friend class conffwk::DalObject
const dunedaq::appmodel::TPStreamWriterConf * get_configuration() const
Get "configuration" relationship value.
TPStreamWriterModule(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
std::string m_writer_identifier
void set_writer_identifier(const std::string &value)
Set "writer_identifier" attribute value.
void set_configuration(const dunedaq::appmodel::TPStreamWriterConf *value)
Set "configuration" relationship value.
static const std::string & __get_writer_identifier_str() noexcept
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::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)
std::vector< constTPStreamWriterModule * >::const_iterator TPStreamWriterModuleIterator