3#ifndef _FelixInterface_0_dunedaq__appmodel_0_appmodel_H_
4#define _FelixInterface_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;
130 std::lock_guard scoped_lock(
m_mutex);
146 std::lock_guard scoped_lock(
m_mutex);
163 std::lock_guard scoped_lock(
m_mutex);
179 std::lock_guard scoped_lock(
m_mutex);
196 std::lock_guard scoped_lock(
m_mutex);
212 std::lock_guard scoped_lock(
m_mutex);
229 std::lock_guard scoped_lock(
m_mutex);
245 std::lock_guard scoped_lock(
m_mutex);
262 std::lock_guard scoped_lock(
m_mutex);
278 std::lock_guard scoped_lock(
m_mutex);
295 std::lock_guard scoped_lock(
m_mutex);
311 std::lock_guard scoped_lock(
m_mutex);
328 std::lock_guard scoped_lock(
m_mutex);
344 std::lock_guard scoped_lock(
m_mutex);
361 std::lock_guard scoped_lock(
m_mutex);
377 std::lock_guard scoped_lock(
m_mutex);
394 std::lock_guard scoped_lock(
m_mutex);
410 std::lock_guard scoped_lock(
m_mutex);
427 std::lock_guard scoped_lock(
m_mutex);
443 std::lock_guard scoped_lock(
m_mutex);
460 std::lock_guard scoped_lock(
m_mutex);
476 std::lock_guard scoped_lock(
m_mutex);
489 return obj.print_object(s);
static const std::string & __get_dma_id_str() noexcept
uint32_t m_dma_margin_blocks
static const std::string & __get_slr_str() noexcept
static const std::string s_interrupt_mode
static const std::string & __get_chunk_trailer_size_str() noexcept
uint16_t get_slr() const
Get "slr" attribute value. Super logic region of a FLX card.
static const std::string & __get_dma_block_size_str() noexcept
static const std::string & __get_numa_id_str() noexcept
virtual ~FelixInterface() noexcept
uint32_t m_dma_block_threshold
static const std::string & __get_dma_memory_size_gb_str() noexcept
void set_numa_id(uint8_t value)
Set "numa_id" attribute value. CMEM_RCC NUMA region selector.
uint32_t get_poll_time() const
Get "poll_time" attribute value. Poll time in us. Ignored if interrupt mode is on.
void set_slr(uint16_t value)
Set "slr" attribute value. Super logic region of a FLX card.
FelixInterface(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
void set_dma_block_threshold(uint32_t value)
Set "dma_block_threshold" attribute value. DMA parser activates at number of available new blocks.
static const std::string s_chunk_trailer_size
uint32_t get_dma_memory_size_gb() const
Get "dma_memory_size_gb" attribute value. CMEM_RCC memory to allocate in GBs.
static const std::string & __get_card_str() noexcept
uint8_t get_numa_id() const
Get "numa_id" attribute value. CMEM_RCC NUMA region selector.
static const std::string & __get_dma_margin_blocks_str() noexcept
static const std::string s_dma_block_size
static const std::string s_dma_margin_blocks
uint32_t get_dma_block_threshold() const
Get "dma_block_threshold" attribute value. DMA parser activates at number of available new blocks.
static const std::string s_card
static const std::string & __get_dma_block_threshold_str() noexcept
uint32_t get_dma_block_size() const
Get "dma_block_size" attribute value. FELIX DMA Block size in kB.
static const std::string & s_class_name
virtual void init(bool init_children)
uint32_t m_dma_memory_size_gb
friend class conffwk::DalFactory
uint8_t get_dma_id() const
Get "dma_id" attribute value. DMA descriptor to use.
uint32_t get_dma_margin_blocks() const
Get "dma_margin_blocks" attribute value. DMA parser safe margin block count.
static const std::string s_numa_id
void set_dma_id(uint8_t value)
Set "dma_id" attribute value. DMA descriptor to use.
uint32_t m_dma_block_size
void set_dma_block_size(uint32_t value)
Set "dma_block_size" attribute value. FELIX DMA Block size in kB.
void set_card(uint8_t value)
Set "card" attribute value. Card ID in readout host.
static const std::string s_dma_memory_size_gb
uint32_t get_chunk_trailer_size() const
Get "chunk_trailer_size" attribute value. Are chunks with 32b trailer.
bool get_interrupt_mode() const
Get "interrupt_mode" attribute value. Use device interrupts or polling for DMA parsing.
static const std::string & __get_poll_time_str() noexcept
void set_poll_time(uint32_t value)
Set "poll_time" attribute value. Poll time in us. Ignored if interrupt mode is on.
friend class conffwk::DalObject
void set_interrupt_mode(bool value)
Set "interrupt_mode" attribute value. Use device interrupts or polling for DMA parsing.
void set_dma_margin_blocks(uint32_t value)
Set "dma_margin_blocks" attribute value. DMA parser safe margin block count.
static const std::string s_slr
void set_dma_memory_size_gb(uint32_t value)
Set "dma_memory_size_gb" attribute value. CMEM_RCC memory to allocate in GBs.
static const std::string s_poll_time
uint32_t m_chunk_trailer_size
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...
uint8_t get_card() const
Get "card" attribute value. Card ID in readout host.
static const std::string s_dma_block_threshold
static const std::string s_dma_id
static const std::string & __get_interrupt_mode_str() noexcept
void set_chunk_trailer_size(uint32_t value)
Set "chunk_trailer_size" attribute value. Are chunks with 32b trailer.
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::vector< constFelixInterface * >::const_iterator FelixInterfaceIterator
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)