3#ifndef _TPDataProcessor_0_dunedaq__appmodel_0_appmodel_H_
4#define _TPDataProcessor_0_dunedaq__appmodel_0_appmodel_H_
43 virtual
void init(
bool init_children);
61 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
106 std::lock_guard scoped_lock(
m_mutex);
122 std::lock_guard scoped_lock(
m_mutex);
131 inline static const std::string
s_algorithms =
"algorithms";
142 const std::vector<const dunedaq::appmodel::TAAlgorithm*>&
145 std::lock_guard scoped_lock(
m_mutex);
150 std::ostringstream text;
151 text <<
"relationship \"" <<
s_algorithms <<
"\" of object " <<
this <<
" is empty";
173 return obj.print_object(s);
static const std::string s_print_tp_info
const std::vector< const dunedaq::appmodel::TAAlgorithm * > & get_algorithms() const
Get "algorithms" relationship value.
bool get_print_tp_info() const
Get "print_tp_info" attribute value. Whether to print TP information in the TA processor.
static const std::string & __get_print_tp_info_str() noexcept
std::vector< const dunedaq::appmodel::TAAlgorithm * > m_algorithms
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_print_tp_info(bool value)
Set "print_tp_info" attribute value. Whether to print TP information in the TA processor.
TPDataProcessor(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
friend class conffwk::DalObject
static const std::string & s_class_name
static const std::string & __get_algorithms_str() noexcept
static const std::string s_algorithms
void set_algorithms(const std::vector< const dunedaq::appmodel::TAAlgorithm * > &value)
Set "algorithms" relationship value.
virtual ~TPDataProcessor() noexcept
virtual void init(bool init_children)
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< constTPDataProcessor * >::const_iterator TPDataProcessorIterator