3#ifndef _HSIControllerConf_0_dunedaq__hsilibs__dal_0_hsilibs_dal_H_
4#define _HSIControllerConf_0_dunedaq__hsilibs__dal_0_hsilibs_dal_H_
36 virtual
void init(
bool init_children);
54 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
112 std::lock_guard scoped_lock(
m_mutex);
127 std::lock_guard scoped_lock(
m_mutex);
144 std::lock_guard scoped_lock(
m_mutex);
160 std::lock_guard scoped_lock(
m_mutex);
177 std::lock_guard scoped_lock(
m_mutex);
193 std::lock_guard scoped_lock(
m_mutex);
210 std::lock_guard scoped_lock(
m_mutex);
226 std::lock_guard scoped_lock(
m_mutex);
243 std::lock_guard scoped_lock(
m_mutex);
259 std::lock_guard scoped_lock(
m_mutex);
276 std::lock_guard scoped_lock(
m_mutex);
292 std::lock_guard scoped_lock(
m_mutex);
305 return obj.print_object(s);
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...
static const std::string s_falling_edge_mask
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...
bool m_control_hardware_io
static const std::string & __get_control_hardware_io_str() noexcept
static const std::string s_trigger_rate
static const std::string & __get_falling_edge_mask_str() noexcept
double get_trigger_rate() const
Get "trigger_rate" attribute value.
uint32_t get_invert_edge_mask() const
Get "invert_edge_mask" attribute value. Invert edge mask for HSI triggering.
uint32_t get_data_source() const
Get "data_source" attribute value. Source of data for HSI triggering.
void set_rising_edge_mask(uint32_t value)
Set "rising_edge_mask" attribute value. Rising edge mask for HSI triggering.
static const std::string & __get_data_source_str() noexcept
static const std::string & __get_rising_edge_mask_str() noexcept
void set_data_source(uint32_t value)
Set "data_source" attribute value. Source of data for HSI triggering.
bool get_control_hardware_io() const
Get "control_hardware_io" attribute value. control flag for controlling hardware io.
friend class conffwk::DalFactory
static const std::string & __get_invert_edge_mask_str() noexcept
void set_falling_edge_mask(uint32_t value)
Set "falling_edge_mask" attribute value. Falling edge mask for HSI triggering.
uint32_t get_falling_edge_mask() const
Get "falling_edge_mask" attribute value. Falling edge mask for HSI triggering.
static const std::string s_data_source
uint32_t m_falling_edge_mask
static const std::string & __get_trigger_rate_str() noexcept
static const std::string & s_class_name
uint32_t get_rising_edge_mask() const
Get "rising_edge_mask" attribute value. Rising edge mask for HSI triggering.
friend class conffwk::DalObject
virtual void init(bool init_children)
HSIControllerConf(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
static const std::string s_control_hardware_io
void set_control_hardware_io(bool value)
Set "control_hardware_io" attribute value. control flag for controlling hardware io.
virtual ~HSIControllerConf() noexcept
uint32_t m_rising_edge_mask
uint32_t m_invert_edge_mask
void set_trigger_rate(double value)
Set "trigger_rate" attribute value.
static const std::string s_rising_edge_mask
static const std::string s_invert_edge_mask
void set_invert_edge_mask(uint32_t value)
Set "invert_edge_mask" attribute value. Invert edge mask for HSI triggering.
std::vector< constHSIControllerConf * >::const_iterator HSIControllerConfIterator
std::ostream & operator<<(std::ostream &s, const HSIController &obj)