DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <FakeDataProdConf.hpp>
Public Member Functions | |
virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
Print details of the FakeDataProdConf 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_system_type () const |
Get "system_type" attribute value. The system type of the link. | |
void | set_system_type (const std::string &value) |
Set "system_type" attribute value. The system type of the link. | |
uint32_t | get_source_id () const |
Get "source_id" attribute value. The SourceID of this link. | |
void | set_source_id (uint32_t value) |
Set "source_id" attribute value. The SourceID of this link. | |
uint32_t | get_time_tick_diff () const |
Get "time_tick_diff" attribute value. Time tick difference between frames. | |
void | set_time_tick_diff (uint32_t value) |
Set "time_tick_diff" attribute value. Time tick difference between frames. | |
uint32_t | get_frame_size () const |
Get "frame_size" attribute value. The size of a fake frame. | |
void | set_frame_size (uint32_t value) |
Set "frame_size" attribute value. The size of a fake frame. | |
uint32_t | get_response_delay () const |
Get "response_delay" attribute value. Wait for this amount of ns before sending the fragment. | |
void | set_response_delay (uint32_t value) |
Set "response_delay" attribute value. Wait for this amount of ns before sending the fragment. | |
const std::string & | get_fragment_type () const |
Get "fragment_type" attribute value. Fragment type of the response. | |
void | set_fragment_type (const std::string &value) |
Set "fragment_type" attribute value. Fragment type of the response. | |
virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
Print details of the FakeDataProdConf 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_system_type () const |
Get "system_type" attribute value. The system type of the link. | |
void | set_system_type (const std::string &value) |
Set "system_type" attribute value. The system type of the link. | |
uint32_t | get_source_id () const |
Get "source_id" attribute value. The SourceID of this link. | |
void | set_source_id (uint32_t value) |
Set "source_id" attribute value. The SourceID of this link. | |
uint32_t | get_time_tick_diff () const |
Get "time_tick_diff" attribute value. Time tick difference between frames. | |
void | set_time_tick_diff (uint32_t value) |
Set "time_tick_diff" attribute value. Time tick difference between frames. | |
uint32_t | get_frame_size () const |
Get "frame_size" attribute value. The size of a fake frame. | |
void | set_frame_size (uint32_t value) |
Set "frame_size" attribute value. The size of a fake frame. | |
uint32_t | get_response_delay () const |
Get "response_delay" attribute value. Wait for this amount of ns before sending the fragment. | |
void | set_response_delay (uint32_t value) |
Set "response_delay" attribute value. Wait for this amount of ns before sending the fragment. | |
const std::string & | get_fragment_type () const |
Get "fragment_type" attribute value. Fragment type of the response. | |
void | set_fragment_type (const std::string &value) |
Set "fragment_type" attribute value. Fragment type of the response. | |
![]() | |
![]() | |
void | get_parents (const dunedaq::confmodel::Session &session, std::list< std::vector< const dunedaq::confmodel::Component * > > &parents) const |
bool | disabled (const dunedaq::confmodel::Session &session) const |
void | get_parents (const dunedaq::confmodel::Session &session, std::list< std::vector< const dunedaq::confmodel::Component * > > &parents) const |
bool | disabled (const dunedaq::confmodel::Session &session) const |
![]() | |
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_system_type_str () noexcept |
static const std::string & | __get_source_id_str () noexcept |
static const std::string & | __get_time_tick_diff_str () noexcept |
static const std::string & | __get_frame_size_str () noexcept |
static const std::string & | __get_response_delay_str () noexcept |
static const std::string & | __get_fragment_type_str () noexcept |
static const std::string & | __get_system_type_str () noexcept |
static const std::string & | __get_source_id_str () noexcept |
static const std::string & | __get_time_tick_diff_str () noexcept |
static const std::string & | __get_frame_size_str () noexcept |
static const std::string & | __get_response_delay_str () noexcept |
static const std::string & | __get_fragment_type_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_system_type = "system_type" |
static const std::string | s_source_id = "source_id" |
static const std::string | s_time_tick_diff = "time_tick_diff" |
static const std::string | s_frame_size = "frame_size" |
static const std::string | s_response_delay = "response_delay" |
static const std::string | s_fragment_type = "fragment_type" |
![]() | |
static const std::string & | s_class_name |
![]() | |
static const std::string & | s_class_name |
Protected Member Functions | |
FakeDataProdConf (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
virtual | ~FakeDataProdConf () 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 |
FakeDataProdConf (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
virtual | ~FakeDataProdConf () 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 |
![]() | |
ResourceBase (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
virtual | ~ResourceBase () noexcept |
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
ResourceBase (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
virtual | ~ResourceBase () noexcept |
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
![]() | |
Component (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
virtual | ~Component () noexcept |
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
Component (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
virtual | ~Component () noexcept |
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_system_type |
uint32_t | m_source_id |
uint32_t | m_time_tick_diff |
uint32_t | m_frame_size |
uint32_t | m_response_delay |
std::string | m_fragment_type |
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 23 of file FakeDataProdConf.hpp.
|
protectednoexcept |
Definition at line 26 of file FakeDataProdConf.cpp.
|
protectedvirtualnoexcept |
Definition at line 85 of file FakeDataProdConf.cpp.
|
protectednoexcept |
|
protectedvirtualnoexcept |
|
inlinestaticnoexcept |
Definition at line 98 of file FakeDataProdConf.hpp.
|
inlinestaticnoexcept |
Definition at line 98 of file FakeDataProdConf.hpp.
|
inlinestaticnoexcept |
Definition at line 96 of file FakeDataProdConf.hpp.
|
inlinestaticnoexcept |
Definition at line 96 of file FakeDataProdConf.hpp.
|
inlinestaticnoexcept |
Definition at line 97 of file FakeDataProdConf.hpp.
|
inlinestaticnoexcept |
Definition at line 97 of file FakeDataProdConf.hpp.
|
inlinestaticnoexcept |
Definition at line 94 of file FakeDataProdConf.hpp.
|
inlinestaticnoexcept |
Definition at line 94 of file FakeDataProdConf.hpp.
|
inlinestaticnoexcept |
Definition at line 93 of file FakeDataProdConf.hpp.
|
inlinestaticnoexcept |
Definition at line 93 of file FakeDataProdConf.hpp.
|
inlinestaticnoexcept |
Definition at line 95 of file FakeDataProdConf.hpp.
|
inlinestaticnoexcept |
Definition at line 95 of file FakeDataProdConf.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 |
Reimplemented from dunedaq::confmodel::ResourceBase.
Definition at line 89 of file FakeDataProdConf.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 |
Reimplemented from dunedaq::confmodel::ResourceBase.
|
protected |
Definition at line 99 of file FakeDataProdConf.cpp.
|
protected |
|
inline |
Get "fragment_type" attribute value. Fragment type of the response.
Definition at line 274 of file FakeDataProdConf.hpp.
|
inline |
Get "fragment_type" attribute value. Fragment type of the response.
Definition at line 274 of file FakeDataProdConf.hpp.
|
inline |
Get "frame_size" attribute value. The size of a fake frame.
Definition at line 208 of file FakeDataProdConf.hpp.
|
inline |
Get "frame_size" attribute value. The size of a fake frame.
Definition at line 208 of file FakeDataProdConf.hpp.
|
inline |
Get "response_delay" attribute value. Wait for this amount of ns before sending the fragment.
Definition at line 241 of file FakeDataProdConf.hpp.
|
inline |
Get "response_delay" attribute value. Wait for this amount of ns before sending the fragment.
Definition at line 241 of file FakeDataProdConf.hpp.
|
inline |
Get "source_id" attribute value. The SourceID of this link.
Definition at line 142 of file FakeDataProdConf.hpp.
|
inline |
Get "source_id" attribute value. The SourceID of this link.
Definition at line 142 of file FakeDataProdConf.hpp.
|
inline |
Get "system_type" attribute value. The system type of the link.
Definition at line 109 of file FakeDataProdConf.hpp.
|
inline |
Get "system_type" attribute value. The system type of the link.
Definition at line 109 of file FakeDataProdConf.hpp.
|
inline |
Get "time_tick_diff" attribute value. Time tick difference between frames.
Definition at line 175 of file FakeDataProdConf.hpp.
|
inline |
Get "time_tick_diff" attribute value. Time tick difference between frames.
Definition at line 175 of file FakeDataProdConf.hpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
init_children | if true, initialize referenced objects |
Reimplemented from dunedaq::confmodel::ResourceBase.
Definition at line 66 of file FakeDataProdConf.cpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
init_children | if true, initialize referenced objects |
Reimplemented from dunedaq::confmodel::ResourceBase.
|
virtual |
Print details of the FakeDataProdConf 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 |
Reimplemented from dunedaq::confmodel::ResourceBase.
Definition at line 35 of file FakeDataProdConf.cpp.
|
virtual |
Print details of the FakeDataProdConf 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 |
Reimplemented from dunedaq::confmodel::ResourceBase.
|
inline |
Set "fragment_type" attribute value. Fragment type of the response.
value | new attribute value |
Definition at line 290 of file FakeDataProdConf.hpp.
|
inline |
Set "fragment_type" attribute value. Fragment type of the response.
value | new attribute value |
Definition at line 290 of file FakeDataProdConf.hpp.
|
inline |
Set "frame_size" attribute value. The size of a fake frame.
value | new attribute value |
Definition at line 224 of file FakeDataProdConf.hpp.
|
inline |
Set "frame_size" attribute value. The size of a fake frame.
value | new attribute value |
Definition at line 224 of file FakeDataProdConf.hpp.
|
inline |
Set "response_delay" attribute value. Wait for this amount of ns before sending the fragment.
value | new attribute value |
Definition at line 257 of file FakeDataProdConf.hpp.
|
inline |
Set "response_delay" attribute value. Wait for this amount of ns before sending the fragment.
value | new attribute value |
Definition at line 257 of file FakeDataProdConf.hpp.
|
inline |
Set "source_id" attribute value. The SourceID of this link.
value | new attribute value |
Definition at line 158 of file FakeDataProdConf.hpp.
|
inline |
Set "source_id" attribute value. The SourceID of this link.
value | new attribute value |
Definition at line 158 of file FakeDataProdConf.hpp.
|
inline |
Set "system_type" attribute value. The system type of the link.
value | new attribute value |
Definition at line 125 of file FakeDataProdConf.hpp.
|
inline |
Set "system_type" attribute value. The system type of the link.
value | new attribute value |
Definition at line 125 of file FakeDataProdConf.hpp.
|
inline |
Set "time_tick_diff" attribute value. Time tick difference between frames.
value | new attribute value |
Definition at line 191 of file FakeDataProdConf.hpp.
|
inline |
Set "time_tick_diff" attribute value. Time tick difference between frames.
value | new attribute value |
Definition at line 191 of file FakeDataProdConf.hpp.
|
friend |
Definition at line 25 of file FakeDataProdConf.hpp.
|
friend |
Definition at line 27 of file FakeDataProdConf.hpp.
|
friend |
Definition at line 26 of file FakeDataProdConf.hpp.
|
friend |
Definition at line 28 of file FakeDataProdConf.hpp.
|
private |
Definition at line 79 of file FakeDataProdConf.hpp.
|
private |
Definition at line 77 of file FakeDataProdConf.hpp.
|
private |
Definition at line 78 of file FakeDataProdConf.hpp.
|
private |
Definition at line 75 of file FakeDataProdConf.hpp.
|
private |
Definition at line 74 of file FakeDataProdConf.hpp.
|
private |
Definition at line 76 of file FakeDataProdConf.hpp.
|
static |
The name of the configuration class.
Definition at line 40 of file FakeDataProdConf.hpp.
|
inlinestatic |
Definition at line 91 of file FakeDataProdConf.hpp.
|
inlinestatic |
Definition at line 89 of file FakeDataProdConf.hpp.
|
inlinestatic |
Definition at line 90 of file FakeDataProdConf.hpp.
|
inlinestatic |
Definition at line 87 of file FakeDataProdConf.hpp.
|
inlinestatic |
Definition at line 86 of file FakeDataProdConf.hpp.
|
inlinestatic |
Definition at line 88 of file FakeDataProdConf.hpp.