| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

IIoComponent.h
Go to the documentation of this file.
1 // IIoComponent.h
3 // Header file for class IIoComponent
4 // Author: S.Binet<binet@cern.ch>
6 #ifndef GAUDIKERNEL_IIOCOMPONENT_H
7 #define GAUDIKERNEL_IIOCOMPONENT_H 1
8
12 // GaudiKernel includes
13 #include "GaudiKernel/INamedInterface.h"
14 #include "GaudiKernel/StatusCode.h"
15
16 class GAUDI_API IIoComponent : virtual public INamedInterface
17 {
18
19 public:
20 DeclareInterfaceID(IIoComponent,1,0);
21
23 // Public methods:
25 public:
26
29 virtual ~IIoComponent() = default;
30
32 // Const methods:
34
36 // Non-const methods:
38
42 virtual StatusCode io_reinit () = 0;
43
44 virtual StatusCode io_finalize () { return StatusCode::SUCCESS; }
45
46 };
47
48 // I/O operators
50
52 // Inline methods:
54
55
56
57 #endif //> !GAUDIKERNEL_IIOCOMPONENT_H
IIoComponent
Definition: IIoComponent.h:16
INamedInterface::DeclareInterfaceID
DeclareInterfaceID(INamedInterface, 1, 0)
InterfaceID.
INamedInterface.h
StatusCode::SUCCESS
Definition: StatusCode.h:30
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
INamedInterface
IInterface compliant class extending IInterface with the name() method.
Definition: INamedInterface.h:15
StatusCode.h
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
IIoComponent::io_finalize
virtual StatusCode io_finalize()
Definition: IIoComponent.h:44