Go to the documentation of this file.
57 template <
typename Callable>
73 if ( searchNames.
empty() ) {
return true; }
74 for (
const auto& searchName : searchNames ) {
84 this,
"NamesToSave", {},
"List of regexps used to match names of entities to save" };
86 this,
"ComponentsToSave", {},
"List of regexps used to match component names of entities to save" };
88 this,
"TypesToSave", {},
"List of regexps used to match type names of entities to save" };
Interface reporting services must implement.
Base class for all Sinks registering to the Monitoring Hub.
std::string name
name of the entity
StatusCode initialize() override
Gaudi::Property< std::vector< std::string > > m_namesToSave
void removeEntity(Hub::Entity const &ent) override
handles removal of an entity
Gaudi::Property< std::vector< std::string > > m_componentsToSave
StatusCode andThen(F &&f, ARGS &&... args) const
Chain code blocks making the execution conditional a success result.
void registerEntity(Hub::Entity ent) override
handles registration of a new entity
StatusCode initialize() override
std::deque< Gaudi::Monitoring::Hub::Entity > m_monitoringEntities
list of entities we are dealing with
Gaudi::Property< std::vector< std::string > > m_typesToSave
const std::string & name() const override
Retrieve name of the service
double * begin(CLHEP::HepVector &v)
bool wanted(std::string name, std::vector< std::string > searchNames)
deciding whether a given name matches the list of regexps given empty list means everything matches
T emplace_back(T... args)
Service(std::string name, ISvcLocator *svcloc)
Standard Constructor
void applytoAllEntities(Callable func, bool sortFirst=false)
applies a callable to all monitoring entities
Wrapper class for arbitrary monitoring objects.
Implementation of property with value of concrete type.
SmartIF< ISvcLocator > & serviceLocator() const override
Retrieve pointer to service locator
std::string type
type of the entity, see comment above concerning its format and usage
std::string component
name of the component owning the Entity