The Gaudi Framework
master (82fdf313)
Loading...
Searching...
No Matches
IAuditorSvc.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#pragma once
12
13
#include <
Gaudi/IAuditor.h
>
14
#include <
GaudiKernel/IService.h
>
15
#include <
GaudiKernel/System.h
>
16
17
#include <optional>
18
#include <string>
19
24
class
GAUDI_API
IAuditorSvc
:
virtual
public
extend_interfaces
<IService, Gaudi::IAuditor> {
25
public
:
27
DeclareInterfaceID
(
IAuditorSvc
, 4, 0 );
28
30
virtual
Gaudi::IAuditor
*
getAuditor
( std::string
const
& name )
const
= 0;
32
virtual
bool
hasAuditor
( std::string
const
& name )
const
= 0;
33
35
virtual
StatusCode
addAuditor
( std::string
const
& name ) = 0;
36
38
virtual
std::optional<StatusCode>
removesAuditor
( std::string
const
& name ) = 0;
39
};
IAuditor.h
IService.h
GAUDI_API
#define GAUDI_API
Definition
Kernel.h:49
System.h
Gaudi::IAuditor
The IAuditor is the interface implemented by the Auditor base class.
Definition
IAuditor.h:26
IAuditorSvc
The interface implemented by the IAuditorSvc base class.
Definition
IAuditorSvc.h:24
IAuditorSvc::getAuditor
virtual Gaudi::IAuditor * getAuditor(std::string const &name) const =0
management functionality: retrieve an Auditor
IAuditorSvc::DeclareInterfaceID
DeclareInterfaceID(IAuditorSvc, 4, 0)
InterfaceID.
IAuditorSvc::hasAuditor
virtual bool hasAuditor(std::string const &name) const =0
management functionality: check if an Auditor exists
IAuditorSvc::addAuditor
virtual StatusCode addAuditor(std::string const &name)=0
adds a new Auditor
IAuditorSvc::removesAuditor
virtual std::optional< StatusCode > removesAuditor(std::string const &name)=0
removes an Auditor. Returns whether the removal was successful if the Auditor was present
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
extend_interfaces
Base class to be used to extend an interface.
Definition
extend_interfaces.h:23
GaudiKernel
include
GaudiKernel
IAuditorSvc.h
Generated on Thu Oct 2 2025 15:31:11 for The Gaudi Framework by
1.13.1