DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TPReplayModuleConf.hpp>
Public Member Functions | |
virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
Print details of the TPReplayModuleConf object. | |
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 pointers. | |
const std::string & | get_template_for () const |
Get "template_for" attribute value. | |
void | set_template_for (const std::string &value) |
Set "template_for" attribute value. | |
int32_t | get_number_of_loops () const |
Get "number_of_loops" attribute value. | |
void | set_number_of_loops (int32_t value) |
Set "number_of_loops" attribute value. | |
uint32_t | get_maximum_wait_time_us () const |
Get "maximum_wait_time_us" attribute value. | |
void | set_maximum_wait_time_us (uint32_t value) |
Set "maximum_wait_time_us" attribute value. | |
const std::string & | get_channel_map () const |
Get "channel_map" attribute value. | |
void | set_channel_map (const std::string &value) |
Set "channel_map" attribute value. | |
uint32_t | get_total_planes () const |
Get "total_planes" attribute value. | |
void | set_total_planes (uint32_t value) |
Set "total_planes" attribute value. | |
const std::vector< uint32_t > & | get_filter_out_plane () const |
Get "filter_out_plane" attribute value. | |
void | set_filter_out_plane (const std::vector< uint32_t > &value) |
Set "filter_out_plane" attribute value. | |
const std::vector< const dunedaq::appmodel::TPStreamConf * > & | get_tp_streams () const |
Get "tp_streams" relationship value. | |
void | set_tp_streams (const std::vector< const dunedaq::appmodel::TPStreamConf * > &value) |
Set "tp_streams" relationship value. | |
virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
Print details of the TPReplayModuleConf object. | |
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 pointers. | |
const std::string & | get_template_for () const |
Get "template_for" attribute value. | |
void | set_template_for (const std::string &value) |
Set "template_for" attribute value. | |
int32_t | get_number_of_loops () const |
Get "number_of_loops" attribute value. | |
void | set_number_of_loops (int32_t value) |
Set "number_of_loops" attribute value. | |
uint32_t | get_maximum_wait_time_us () const |
Get "maximum_wait_time_us" attribute value. | |
void | set_maximum_wait_time_us (uint32_t value) |
Set "maximum_wait_time_us" attribute value. | |
const std::string & | get_channel_map () const |
Get "channel_map" attribute value. | |
void | set_channel_map (const std::string &value) |
Set "channel_map" attribute value. | |
uint32_t | get_total_planes () const |
Get "total_planes" attribute value. | |
void | set_total_planes (uint32_t value) |
Set "total_planes" attribute value. | |
const std::vector< uint32_t > & | get_filter_out_plane () const |
Get "filter_out_plane" attribute value. | |
void | set_filter_out_plane (const std::vector< uint32_t > &value) |
Set "filter_out_plane" attribute value. | |
const std::vector< const dunedaq::appmodel::TPStreamConf * > & | get_tp_streams () const |
Get "tp_streams" relationship value. | |
void | set_tp_streams (const std::vector< const dunedaq::appmodel::TPStreamConf * > &value) |
Set "tp_streams" relationship value. | |
![]() | |
const std::string & | UID () const noexcept |
const std::string & | class_name () const noexcept |
bool | castable (const std::string &target) const noexcept |
bool | castable (const std::string *target) const noexcept |
template<class TARGET > | |
const TARGET * | cast () const noexcept |
Casts object to different class. | |
std::string | full_name () const noexcept |
const ConfigObject & | config_object () const |
DalRegistry & | registry () const noexcept |
Configuration & | configuration () const noexcept |
void | unread () |
void | set (const ConfigObject &o) noexcept |
void | move (const std::string &at) |
void | rename (const std::string &new_id) |
void | p_hdr (std::ostream &s, unsigned int indent, const std::string &cl, const char *nm=nullptr) const |
print object headers | |
std::ostream & | print_object (std::ostream &s) const |
print object details | |
void | throw_init_ex (dunedaq::conffwk::Exception &ex) |
throw object initialisation exception (i.e. | |
Static Public Member Functions | |
static const std::string & | __get_template_for_str () noexcept |
static const std::string & | __get_number_of_loops_str () noexcept |
static const std::string & | __get_maximum_wait_time_us_str () noexcept |
static const std::string & | __get_channel_map_str () noexcept |
static const std::string & | __get_total_planes_str () noexcept |
static const std::string & | __get_filter_out_plane_str () noexcept |
static const std::string & | __get_tp_streams_str () noexcept |
static const std::string & | __get_template_for_str () noexcept |
static const std::string & | __get_number_of_loops_str () noexcept |
static const std::string & | __get_maximum_wait_time_us_str () noexcept |
static const std::string & | __get_channel_map_str () noexcept |
static const std::string & | __get_total_planes_str () noexcept |
static const std::string & | __get_filter_out_plane_str () noexcept |
static const std::string & | __get_tp_streams_str () noexcept |
![]() | |
static void | p_null (std::ostream &s) |
print "(null)" | |
static void | p_rm (std::ostream &s) |
print "(deleted object)" | |
static void | p_error (std::ostream &s, dunedaq::conffwk::Exception &ex) |
print error text | |
static void | throw_get_ex (const std::string &what, const std::string &class_name, const DalObject *obj) |
throw exception in generated get method (i.e. | |
static bool | is_null (const DalObject *ref) noexcept |
check a pointer on DAL object is null | |
Static Public Attributes | |
static const std::string & | s_class_name |
static const std::string | s_template_for = "template_for" |
static const std::string | s_number_of_loops = "number_of_loops" |
static const std::string | s_maximum_wait_time_us = "maximum_wait_time_us" |
static const std::string | s_channel_map = "channel_map" |
static const std::string | s_total_planes = "total_planes" |
static const std::string | s_filter_out_plane = "filter_out_plane" |
static const std::string | s_tp_streams = "tp_streams" |
Protected Member Functions | |
TPReplayModuleConf (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
virtual | ~TPReplayModuleConf () noexcept |
virtual void | init (bool init_children) |
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
TPReplayModuleConf (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
virtual | ~TPReplayModuleConf () noexcept |
virtual void | init (bool init_children) |
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
![]() | |
DalObject (DalRegistry &db, const ConfigObject &o) noexcept | |
virtual | ~DalObject () |
void | clear () noexcept |
void | check () const |
bool | is_deleted () const |
void | increment_created () noexcept |
void | increment_read () noexcept |
void | check_init () const |
Check and initialize object if necessary. | |
template<typename T > | |
void | _set_object (const std::string &name, const T *value) |
Helper method for generated set single-value relationship methods. | |
template<typename T > | |
void | _set_objects (const std::string &name, const std::vector< const T * > &value) |
Helper method for generated set multi-value relationship methods. | |
bool | get_rel_objects (const std::string &name, bool upcast_unregistered, std::vector< const DalObject * > &objs) const |
Read relationship values as DAL objects using DAL factory. | |
bool | get_algo_objects (const std::string &name, std::vector< const DalObject * > &objs) const |
Run algorithm and return result as DAL objects using DAL factory. | |
Private Attributes | |
std::string | m_template_for |
int32_t | m_number_of_loops |
uint32_t | m_maximum_wait_time_us |
std::string | m_channel_map |
uint32_t | m_total_planes |
std::vector< uint32_t > | m_filter_out_plane |
std::vector< const dunedaq::appmodel::TPStreamConf * > | m_tp_streams |
Friends | |
class | conffwk::Configuration |
class | conffwk::DalObject |
class | conffwk::DalFactory |
class | conffwk::DalRegistry |
Additional Inherited Members | |
![]() | |
std::mutex | m_mutex |
Used to protect changes of DAL object. | |
bool | p_was_read |
is true, if the object was read | |
DalRegistry & | p_registry |
Configuration object. | |
ConfigObject | p_obj |
Config object used by given template object. | |
std::string | p_UID |
Is used for template objects (see dqm_conffwk) | |
Definition at line 29 of file TPReplayModuleConf.hpp.
|
protectednoexcept |
Definition at line 31 of file TPReplayModuleConf.cpp.
|
protectedvirtualnoexcept |
Definition at line 89 of file TPReplayModuleConf.cpp.
|
protectednoexcept |
|
protectedvirtualnoexcept |
|
inlinestaticnoexcept |
Definition at line 103 of file TPReplayModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 103 of file TPReplayModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 105 of file TPReplayModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 105 of file TPReplayModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 102 of file TPReplayModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 102 of file TPReplayModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 101 of file TPReplayModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 101 of file TPReplayModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 100 of file TPReplayModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 100 of file TPReplayModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 104 of file TPReplayModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 104 of file TPReplayModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 298 of file TPReplayModuleConf.hpp.
|
inlinestaticnoexcept |
Definition at line 298 of file TPReplayModuleConf.hpp.
|
virtual |
Get values of relationships and results of some algorithms as a vector of dunedaq::conffwk::DalObject pointers.
Parameters are:
name | name of the relationship or algorithm |
std::exception | if there is no relationship or algorithm with such name in this and base classes |
Implements dunedaq::conffwk::DalObject.
Definition at line 93 of file TPReplayModuleConf.cpp.
|
virtual |
Get values of relationships and results of some algorithms as a vector of dunedaq::conffwk::DalObject pointers.
Parameters are:
name | name of the relationship or algorithm |
std::exception | if there is no relationship or algorithm with such name in this and base classes |
Implements dunedaq::conffwk::DalObject.
|
protected |
Definition at line 103 of file TPReplayModuleConf.cpp.
|
protected |
|
inline |
Get "channel_map" attribute value.
Definition at line 208 of file TPReplayModuleConf.hpp.
|
inline |
Get "channel_map" attribute value.
Definition at line 208 of file TPReplayModuleConf.hpp.
|
inline |
Get "filter_out_plane" attribute value.
Definition at line 270 of file TPReplayModuleConf.hpp.
|
inline |
Get "filter_out_plane" attribute value.
Definition at line 270 of file TPReplayModuleConf.hpp.
|
inline |
Get "maximum_wait_time_us" attribute value.
Definition at line 177 of file TPReplayModuleConf.hpp.
|
inline |
Get "maximum_wait_time_us" attribute value.
Definition at line 177 of file TPReplayModuleConf.hpp.
|
inline |
Get "number_of_loops" attribute value.
Definition at line 146 of file TPReplayModuleConf.hpp.
|
inline |
Get "number_of_loops" attribute value.
Definition at line 146 of file TPReplayModuleConf.hpp.
|
inline |
Get "template_for" attribute value.
Definition at line 115 of file TPReplayModuleConf.hpp.
|
inline |
Get "template_for" attribute value.
Definition at line 115 of file TPReplayModuleConf.hpp.
|
inline |
Get "total_planes" attribute value.
Definition at line 239 of file TPReplayModuleConf.hpp.
|
inline |
Get "total_planes" attribute value.
Definition at line 239 of file TPReplayModuleConf.hpp.
|
inline |
Get "tp_streams" relationship value.
Definition at line 308 of file TPReplayModuleConf.hpp.
|
inline |
Get "tp_streams" relationship value.
Definition at line 308 of file TPReplayModuleConf.hpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
init_children | if true, initialize referenced objects |
Implements dunedaq::conffwk::DalObject.
Definition at line 69 of file TPReplayModuleConf.cpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
init_children | if true, initialize referenced objects |
Implements dunedaq::conffwk::DalObject.
|
virtual |
Print details of the TPReplayModuleConf object.
Parameters are:
offset | number of spaces to shift object right (useful to print nested objects) |
print_header | if false, do not print object header (to print attributes of base classes) |
s | output stream |
Implements dunedaq::conffwk::DalObject.
Definition at line 38 of file TPReplayModuleConf.cpp.
|
virtual |
Print details of the TPReplayModuleConf object.
Parameters are:
offset | number of spaces to shift object right (useful to print nested objects) |
print_header | if false, do not print object header (to print attributes of base classes) |
s | output stream |
Implements dunedaq::conffwk::DalObject.
|
inline |
Set "channel_map" attribute value.
value | new attribute value |
Definition at line 223 of file TPReplayModuleConf.hpp.
|
inline |
Set "channel_map" attribute value.
value | new attribute value |
Definition at line 223 of file TPReplayModuleConf.hpp.
|
inline |
Set "filter_out_plane" attribute value.
value | new attribute value |
Definition at line 285 of file TPReplayModuleConf.hpp.
|
inline |
Set "filter_out_plane" attribute value.
value | new attribute value |
Definition at line 285 of file TPReplayModuleConf.hpp.
|
inline |
Set "maximum_wait_time_us" attribute value.
value | new attribute value |
Definition at line 192 of file TPReplayModuleConf.hpp.
|
inline |
Set "maximum_wait_time_us" attribute value.
value | new attribute value |
Definition at line 192 of file TPReplayModuleConf.hpp.
|
inline |
Set "number_of_loops" attribute value.
value | new attribute value |
Definition at line 161 of file TPReplayModuleConf.hpp.
|
inline |
Set "number_of_loops" attribute value.
value | new attribute value |
Definition at line 161 of file TPReplayModuleConf.hpp.
|
inline |
Set "template_for" attribute value.
value | new attribute value |
Definition at line 130 of file TPReplayModuleConf.hpp.
|
inline |
Set "template_for" attribute value.
value | new attribute value |
Definition at line 130 of file TPReplayModuleConf.hpp.
|
inline |
Set "total_planes" attribute value.
value | new attribute value |
Definition at line 254 of file TPReplayModuleConf.hpp.
|
inline |
Set "total_planes" attribute value.
value | new attribute value |
Definition at line 254 of file TPReplayModuleConf.hpp.
void dunedaq::appmodel::TPReplayModuleConf::set_tp_streams | ( | const std::vector< const dunedaq::appmodel::TPStreamConf * > & | value | ) |
Set "tp_streams" relationship value.
value | new relationship value |
Definition at line 122 of file TPReplayModuleConf.cpp.
void dunedaq::appmodel::TPReplayModuleConf::set_tp_streams | ( | const std::vector< const dunedaq::appmodel::TPStreamConf * > & | value | ) |
Set "tp_streams" relationship value.
value | new relationship value |
|
friend |
Definition at line 31 of file TPReplayModuleConf.hpp.
|
friend |
Definition at line 33 of file TPReplayModuleConf.hpp.
|
friend |
Definition at line 32 of file TPReplayModuleConf.hpp.
|
friend |
Definition at line 34 of file TPReplayModuleConf.hpp.
|
private |
Definition at line 83 of file TPReplayModuleConf.hpp.
|
private |
Definition at line 85 of file TPReplayModuleConf.hpp.
|
private |
Definition at line 82 of file TPReplayModuleConf.hpp.
|
private |
Definition at line 81 of file TPReplayModuleConf.hpp.
|
private |
Definition at line 80 of file TPReplayModuleConf.hpp.
|
private |
Definition at line 84 of file TPReplayModuleConf.hpp.
|
private |
Definition at line 86 of file TPReplayModuleConf.hpp.
|
inlinestatic |
Definition at line 96 of file TPReplayModuleConf.hpp.
|
static |
The name of the configuration class.
Definition at line 46 of file TPReplayModuleConf.hpp.
|
inlinestatic |
Definition at line 98 of file TPReplayModuleConf.hpp.
|
inlinestatic |
Definition at line 95 of file TPReplayModuleConf.hpp.
|
inlinestatic |
Definition at line 94 of file TPReplayModuleConf.hpp.
|
inlinestatic |
Definition at line 93 of file TPReplayModuleConf.hpp.
|
inlinestatic |
Definition at line 97 of file TPReplayModuleConf.hpp.
|
inlinestatic |
Definition at line 296 of file TPReplayModuleConf.hpp.