3#ifndef _QueueDescriptor_0_dunedaq__appmodel_0_appmodel_H_
4#define _QueueDescriptor_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;
102 std::lock_guard scoped_lock(
m_mutex);
118 std::lock_guard scoped_lock(
m_mutex);
130 inline static const std::string
KUnknown =
"kUnknown";
131 inline static const std::string
KStdDeQueue =
"kStdDeQueue";
146 std::lock_guard scoped_lock(
m_mutex);
162 std::lock_guard scoped_lock(
m_mutex);
178 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);
237 inline std::ostream&
operator<<(std::ostream& s,
const QueueDescriptor& obj)
239 return obj.print_object(s);
QueueDescriptor(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
virtual ~QueueDescriptor() noexcept
static const std::string & __get_queue_type_str() noexcept
static const std::string & __get_data_type_str() noexcept
void set_uid_base(const std::string &value)
Set "uid_base" attribute value. Base for UID string. May be combined with a source id.
static const std::string s_capacity
const std::string & get_queue_type() const
Get "queue_type" attribute value. Type of queue.
void set_data_type(const std::string &value)
Set "data_type" attribute value. string identifying type of data transferred through this queue.
const std::string & get_data_type() const
Get "data_type" attribute value. string identifying type of data transferred through this queue.
friend class conffwk::DalFactory
static const std::string s_uid_base
uint32_t get_capacity() const
Get "capacity" attribute value.
static const std::string & __get_capacity_str() noexcept
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...
virtual void init(bool init_children)
static const std::string & s_class_name
static const std::string s_queue_type
friend class conffwk::DalObject
static const std::string s_data_type
void set_queue_type(const std::string &value)
Set "queue_type" attribute value. Type of queue.
void set_capacity(uint32_t value)
Set "capacity" attribute value.
const std::string & get_uid_base() const
Get "uid_base" attribute value. Base for UID string. May be combined with a source id.
static const std::string & __get_uid_base_str() noexcept
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.
void set_enum(const std::string &name, const std::string &value)
Set attribute enumeration 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< constQueueDescriptor * >::const_iterator QueueDescriptorIterator
static const std::string KStdDeQueue
static const std::string KUnknown
static const std::string KFollySPSCQueue
static const std::string KFollyMPMCQueue