3#ifndef _DaphneV2Channel_0_dunedaq__appmodel_0_appmodel_H_
4#define _DaphneV2Channel_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;
81 inline static const
std::
string s_gain = "gain";
102 std::lock_guard scoped_lock(
m_mutex);
118 std::lock_guard scoped_lock(
m_mutex);
135 std::lock_guard scoped_lock(
m_mutex);
151 std::lock_guard scoped_lock(
m_mutex);
168 std::lock_guard scoped_lock(
m_mutex);
184 std::lock_guard scoped_lock(
m_mutex);
200 std::lock_guard scoped_lock(
m_mutex);
215 std::lock_guard scoped_lock(
m_mutex);
226 inline std::ostream&
operator<<(std::ostream& s,
const DaphneV2Channel& obj)
228 return obj.print_object(s);
static const std::string s_gain
static const std::string & s_class_name
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 & __get_gain_str() noexcept
uint8_t get_gain() const
Get "gain" attribute value. gain.
uint16_t get_offset() const
Get "offset" attribute value. Pedestal for the channel.
static const std::string s_offset
static const std::string & __get_trim_str() noexcept
static const std::string s_trim
static const std::string s_channel_id
uint8_t get_channel_id() const
Get "channel_id" attribute value.
friend class conffwk::DalFactory
DaphneV2Channel(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
friend class conffwk::DalObject
uint16_t get_trim() const
Get "trim" attribute value. trim value for the channel.
void set_gain(uint8_t value)
Set "gain" attribute value. gain.
void set_offset(uint16_t value)
Set "offset" attribute value. Pedestal for the channel.
static const std::string & __get_offset_str() noexcept
virtual ~DaphneV2Channel() noexcept
static const std::string & __get_channel_id_str() noexcept
void set_trim(uint16_t value)
Set "trim" attribute value. trim value for the channel.
void set_channel_id(uint8_t value)
Set "channel_id" attribute value.
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...
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)
std::vector< constDaphneV2Channel * >::const_iterator DaphneV2ChannelIterator
std::string trim(const std::string &s)