3#ifndef _DaphneV2LNA_0_dunedaq__appmodel_0_appmodel_H_
4#define _DaphneV2LNA_0_dunedaq__appmodel_0_appmodel_H_
35 virtual
void init(
bool init_children);
53 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
84 inline static const
std::
string s_clamp = "clamp";
86 inline static const
std::
string s_gain = "gain";
103 std::lock_guard scoped_lock(
m_mutex);
119 std::lock_guard scoped_lock(
m_mutex);
135 std::lock_guard scoped_lock(
m_mutex);
150 std::lock_guard scoped_lock(
m_mutex);
167 std::lock_guard scoped_lock(
m_mutex);
183 std::lock_guard scoped_lock(
m_mutex);
206 return obj.print_object(s);
bool m_integrator_disable
static const std::string & __get_integrator_disable_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...
DaphneV2LNA(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
uint16_t get_reg52() const
static const std::string & s_class_name
static const std::string & __get_gain_str() noexcept
static const std::string s_gain
friend class conffwk::DalFactory
static const std::string s_integrator_disable
bool get_integrator_disable() const
Get "integrator_disable" attribute value.
virtual ~DaphneV2LNA() noexcept
static const std::string & __get_clamp_str() noexcept
static const std::string s_clamp
void set_gain(uint8_t value)
Set "gain" attribute value. 0=18 dB, 1=24 dB, 2=12 dB.
friend class conffwk::DalObject
void set_clamp(uint8_t value)
Set "clamp" attribute value. 0=auto setting, 1=1.5 Vpp, 2=1.15 Vpp, 3=0.6 Vpp.
uint8_t get_clamp() const
Get "clamp" attribute value. 0=auto setting, 1=1.5 Vpp, 2=1.15 Vpp, 3=0.6 Vpp.
void set_integrator_disable(bool value)
Set "integrator_disable" attribute value.
uint8_t get_gain() const
Get "gain" attribute value. 0=18 dB, 1=24 dB, 2=12 dB.
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< constDaphneV2LNA * >::const_iterator DaphneV2LNAIterator