The Gaudi Framework  master (37c0b60a)
IInspectable.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 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 #ifndef GAUDIKERNEL_IINSPECTABLE_H
12 #define GAUDIKERNEL_IINSPECTABLE_H
13 
14 // Include Files
15 #include <GaudiKernel/Kernel.h>
16 
17 // Forward declaration
18 class IInspector;
19 class IInspectable;
20 
28 public:
30  virtual ~IInspectable() = default;
31 
36  virtual bool acceptInspector( IInspector* pI ) = 0;
41  virtual bool acceptInspector( IInspector* pI ) const = 0;
42 };
43 #endif // GAUDIKERNEL_IINSPECTABLE_H
IInspectable
Definition: IInspectable.h:27
IInspector
Definition: IInspector.h:25
IInspectable::acceptInspector
virtual bool acceptInspector(IInspector *pI) const =0
return FALSE if doesn't accept Inspecetor so that diagnostic message can be printed.
IInspectable::~IInspectable
virtual ~IInspectable()=default
destructor
Kernel.h
IInspectable::acceptInspector
virtual bool acceptInspector(IInspector *pI)=0
return FALSE if doesn't accept Inspecetor so that diagnostic message can be printed.
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:81