3#ifndef _TCAlgorithm_0_dunedaq__appmodel_0_appmodel_H_
4#define _TCAlgorithm_0_dunedaq__appmodel_0_appmodel_H_
38 virtual
void init(
bool init_children);
56 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
103 std::lock_guard scoped_lock(
m_mutex);
119 std::lock_guard scoped_lock(
m_mutex);
136 std::lock_guard scoped_lock(
m_mutex);
152 std::lock_guard scoped_lock(
m_mutex);
165 return obj.print_object(s);
static const std::string s_tc_type_name
std::string m_tc_type_name
static const std::string s_prescale
virtual ~TCAlgorithm() noexcept
friend class conffwk::DalFactory
static const std::string & s_class_name
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...
void set_tc_type_name(const std::string &value)
Set "tc_type_name" attribute value. The output TC type name this algorithm will output.
TCAlgorithm(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
virtual void init(bool init_children)
static const std::string & __get_tc_type_name_str() noexcept
friend class conffwk::DalObject
uint32_t get_prescale() const
Get "prescale" attribute value. Prescale factor to apply to algorithm output.
const std::string & get_tc_type_name() const
Get "tc_type_name" attribute value. The output TC type name this algorithm will output.
static const std::string & __get_prescale_str() noexcept
void set_prescale(uint32_t value)
Set "prescale" attribute value. Prescale factor to apply to algorithm output.
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::vector< constTCAlgorithm * >::const_iterator TCAlgorithmIterator
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)