3#ifndef _TADataProcessor_0_dunedaq__appmodel_0_appmodel_H_
4#define _TADataProcessor_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);
142 const std::vector<const dunedaq::appmodel::TCAlgorithm*>&
145 std::lock_guard scoped_lock(
m_mutex);
150 std::ostringstream text;
151 text <<
"relationship \"" <<
s_algorithms <<
"\" of object " <<
this <<
" is empty";
165 set_algorithms(
const std::vector<const dunedaq::appmodel::TCAlgorithm*>& value);
173 return obj.print_object(s);
static const std::string & __get_print_ta_info_str() noexcept
virtual ~TADataProcessor() noexcept
bool get_print_ta_info() const
Get "print_ta_info" attribute value. Whether to print TP information in the TA processor.
static const std::string & s_class_name
const std::vector< const dunedaq::appmodel::TCAlgorithm * > & get_algorithms() const
Get "algorithms" relationship value.
friend class conffwk::DalFactory
std::vector< const dunedaq::appmodel::TCAlgorithm * > m_algorithms
void set_algorithms(const std::vector< const dunedaq::appmodel::TCAlgorithm * > &value)
Set "algorithms" relationship value.
static const std::string & __get_algorithms_str() noexcept
TADataProcessor(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) 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...
friend class conffwk::DalObject
static const std::string s_print_ta_info
static const std::string s_algorithms
void set_print_ta_info(bool value)
Set "print_ta_info" attribute value. Whether to print TP information in the TA processor.
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< constTADataProcessor * >::const_iterator TADataProcessorIterator