|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <OpMonManager.hpp>
Public Member Functions | |
| OpMonManager (std::string session, std::string name, std::string opmon_facility_uri="stdout") | |
| virtual | ~OpMonManager ()=default |
| void | start_monitoring () |
| void | stop_monitoring () |
| void | set_opmon_conf (const confmodel::OpMonConf *c) |
| auto | get_opmon_id () const noexcept |
| auto | get_opmon_level () const noexcept |
| void | register_node (ElementId name, NewNodePtr) |
Protected Member Functions | |
| auto | get_opmon_facility () const |
| OpMonManager (std::string session, std::string name, facility_ptr_t) | |
| void | run (std::stop_token) |
| Protected Member Functions inherited from dunedaq::opmonlib::MonitorableObject | |
| MonitorableObject ()=default | |
| void | register_node (ElementId name, NewNodePtr) |
| void | publish (google::protobuf::Message &&, CustomOrigin &&co={}, OpMonLevel l=to_level(EntryOpMonLevel::kDefault)) const noexcept |
| virtual void | generate_opmon_data () |
| MonitorableObject (const MonitorableObject &)=delete | |
| MonitorableObject & | operator= (const MonitorableObject &)=delete |
| MonitorableObject (MonitorableObject &&)=delete | |
| MonitorableObject & | operator= (MonitorableObject &&)=delete |
| virtual | ~MonitorableObject ()=default |
| auto | get_opmon_id () const noexcept |
| auto | get_opmon_level () const noexcept |
Private Attributes | |
| std::jthread | m_thread |
| std::atomic< const confmodel::OpMonConf * > | m_cfg {nullptr} |
Friends | |
| class | TestOpMonManager |
Additional Inherited Members | |
| Protected Types inherited from dunedaq::opmonlib::MonitorableObject | |
| using | NodePtr = std::weak_ptr<MonitorableObject> |
| using | NewNodePtr = std::shared_ptr<MonitorableObject> |
| using | ElementId = std::string |
| Static Protected Member Functions inherited from dunedaq::opmonlib::MonitorableObject | |
| static bool | publishable_metric (OpMonLevel entry, OpMonLevel system) noexcept |
Definition at line 49 of file OpMonManager.hpp.
|
inlineexplicit |
Definition at line 60 of file OpMonManager.hpp.
|
virtualdefault |
|
protected |
Definition at line 16 of file OpMonManager.cpp.
|
inlineprotected |
Definition at line 90 of file OpMonManager.hpp.
|
inlinenoexcept |
Definition at line 93 of file MonitorableObject.hpp.
|
inlinenoexcept |
Definition at line 95 of file MonitorableObject.hpp.
| void MonitorableObject::register_node | ( | ElementId | name, |
| NewNodePtr | p ) |
Append a register object to the chain The children will be modified using information from the this parent
Definition at line 113 of file MonitorableObject.cpp.
|
protected |
Definition at line 51 of file OpMonManager.cpp.
|
inline |
Definition at line 81 of file OpMonManager.hpp.
| void OpMonManager::start_monitoring | ( | ) |
Definition at line 25 of file OpMonManager.cpp.
| void OpMonManager::stop_monitoring | ( | ) |
Definition at line 43 of file OpMonManager.cpp.
|
friend |
Definition at line 52 of file OpMonManager.hpp.
|
private |
Definition at line 101 of file OpMonManager.hpp.
|
private |
Definition at line 100 of file OpMonManager.hpp.