DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Namespaces | |
namespace | opmon |
Classes | |
class | BackendOpMonFacility |
class | JSonOpMonFacility |
class | MonitorableObject |
class | NullOpMonFacility |
class | OpMonFacility |
class | OpMonLink |
class | OpMonManager |
class | TestOpMonManager |
Typedefs | |
using | OpMonLevel |
using | OptionalOrigin = std::optional<dunedaq::opmon::OpMonId> |
using | CustomOrigin = std::map<std::string, std::string> |
using | cr_map_type |
using | map_type = std::remove_const<std::remove_reference<cr_map_type>::type>::type |
Enumerations | |
enum class | SystemOpMonLevel : OpMonLevel { kDisabled = std::numeric_limits<OpMonLevel>::min() , kAll = std::numeric_limits<OpMonLevel>::max() } |
enum class | EntryOpMonLevel : OpMonLevel { kTopPriority = std::numeric_limits<OpMonLevel>::min() , kEventDriven = std::numeric_limits<OpMonLevel>::max()/4 , kDefault = std::numeric_limits<OpMonLevel>::max()/2 , kLowestPrioriry = std::numeric_limits<OpMonLevel>::max()-1 } |
Functions | |
template<class T > | |
constexpr auto | to_level (T v) |
std::shared_ptr< OpMonFacility > | makeOpMonFacility (std::string const &facility, OptionalOrigin=OptionalOrigin()) |
template<class T > | |
void | set_value (google::protobuf::Message &m, const std::string &name, T value) |
template<class T > | |
void | set_value (const google::protobuf::Reflection &, google::protobuf::Message &, const google::protobuf::FieldDescriptor *, T) |
opmon::OpMonId | make_origin (const std::string &session, const std::string &app) |
dunedaq::opmon::OpMonEntry | to_entry (const google::protobuf::Message &m, const CustomOrigin &co) |
template<class M > | |
M | from_entry (const dunedaq::opmon::OpMonEntry &) |
void | from_entry (google::protobuf::Message &m, const dunedaq::opmon::OpMonEntry &, std::string top_block="") |
map_type | to_map (const google::protobuf::Message &m, std::string top_block="") |
std::string | to_string (const dunedaq::opmon::OpMonId &) |
const dunedaq::opmon::OpMonId & | operator+= (dunedaq::opmon::OpMonId &, const std::string &element) |
dunedaq::opmon::OpMonId | operator+ (const dunedaq::opmon::OpMonId &, const std::string &element) |
using dunedaq::opmonlib::CustomOrigin = std::map<std::string, std::string> |
using dunedaq::opmonlib::map_type = std::remove_const<std::remove_reference<cr_map_type>::type>::type |
Definition at line 52 of file MonitorableObject.hpp.
using dunedaq::opmonlib::OptionalOrigin = std::optional<dunedaq::opmon::OpMonId> |
Definition at line 84 of file OpMonFacility.hpp.
|
strong |
Enumerator | |
---|---|
kTopPriority | |
kEventDriven | |
kDefault | |
kLowestPrioriry |
Definition at line 60 of file MonitorableObject.hpp.
|
strong |
Enumerator | |
---|---|
kDisabled | |
kAll |
Definition at line 55 of file MonitorableObject.hpp.
M dunedaq::opmonlib::from_entry | ( | const dunedaq::opmon::OpMonEntry & | e | ) |
Definition at line 2 of file Utils.hxx.
void dunedaq::opmonlib::from_entry | ( | google::protobuf::Message & | m, |
const dunedaq::opmon::OpMonEntry & | e, | ||
std::string | top_block = "" ) |
Definition at line 106 of file Utils.cpp.
dunedaq::opmon::OpMonId dunedaq::opmonlib::make_origin | ( | const std::string & | session, |
const std::string & | app ) |
Definition at line 12 of file Utils.cpp.
std::shared_ptr< OpMonFacility > dunedaq::opmonlib::makeOpMonFacility | ( | std::string const & | facility, |
OptionalOrigin | o = OptionalOrigin() ) |
Definition at line 14 of file OpMonFacility.cpp.
dunedaq::opmon::OpMonId dunedaq::opmonlib::operator+ | ( | const dunedaq::opmon::OpMonId & | id, |
const std::string & | element ) |
const dunedaq::opmon::OpMonId & dunedaq::opmonlib::operator+= | ( | dunedaq::opmon::OpMonId & | id, |
const std::string & | element ) |
Definition at line 185 of file Utils.cpp.
void dunedaq::opmonlib::set_value | ( | const google::protobuf::Reflection & | , |
google::protobuf::Message & | , | ||
const google::protobuf::FieldDescriptor * | , | ||
T | ) |
void dunedaq::opmonlib::set_value | ( | google::protobuf::Message & | m, |
const std::string & | name, | ||
T | value ) |
sets the field called "name" in the message m to the value of "value" This is essentially allows us to use any schema generated message as if it was dynamic object
Definition at line 17 of file Utils.hxx.
dunedaq::opmon::OpMonEntry dunedaq::opmonlib::to_entry | ( | const google::protobuf::Message & | m, |
const CustomOrigin & | co ) |
Definition at line 20 of file Utils.cpp.
|
constexpr |
Definition at line 68 of file MonitorableObject.hpp.
dunedaq::opmonlib::map_type dunedaq::opmonlib::to_map | ( | const google::protobuf::Message & | m, |
std::string | top_block = "" ) |
Definition at line 36 of file Utils.cpp.
std::string dunedaq::opmonlib::to_string | ( | const dunedaq::opmon::OpMonId & | id | ) |
Definition at line 167 of file Utils.cpp.