Central entity in a Gaudi application that manages monitoring objects (i.e.
More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/Gaudi/MonitoringHub.h>
Central entity in a Gaudi application that manages monitoring objects (i.e.
counters, histograms, etc.).
The Gaudi::Monitoring::Hub delegates the actual reports to services implementing the Gaudi::Monitoring::Hub::Sink interface.
Definition at line 47 of file MonitoringHub.h.
◆ Hub()
Gaudi::Monitoring::Hub::Hub |
( |
| ) |
|
|
inline |
◆ addSink()
void Gaudi::Monitoring::Hub::addSink |
( |
Sink * | sink | ) |
|
|
inline |
Definition at line 153 of file MonitoringHub.h.
153 {
155 [sink]( auto ent ) { sink->registerEntity( ent.second ); } );
157 }
AttribStringParser::Iterator begin(const AttribStringParser &parser)
std::map< void *, Entity > m_entities
◆ registerEntity() [1/2]
void Gaudi::Monitoring::Hub::registerEntity |
( |
Entity | ent | ) |
|
|
inline |
◆ registerEntity() [2/2]
template<typename T>
void Gaudi::Monitoring::Hub::registerEntity |
( |
std::string | c, |
|
|
std::string | n, |
|
|
std::string | t, |
|
|
T & | ent ) |
|
inline |
Definition at line 137 of file MonitoringHub.h.
137 {
138 registerEntity( { std::move( c ), std::move( n ), std::move( t ), ent } );
139 }
void registerEntity(std::string c, std::string n, std::string t, T &ent)
◆ removeEntity()
template<typename T>
void Gaudi::Monitoring::Hub::removeEntity |
( |
T & | ent | ) |
|
|
inline |
◆ removeSink()
void Gaudi::Monitoring::Hub::removeSink |
( |
Sink * | sink | ) |
|
|
inline |
◆ m_entities
std::map<void*, Entity> Gaudi::Monitoring::Hub::m_entities |
|
private |
◆ m_sinks
std::vector<Sink*> Gaudi::Monitoring::Hub::m_sinks |
|
private |
The documentation for this struct was generated from the following file: