The Gaudi Framework
master (bdbe7744)
Toggle main menu visibility
Loading...
Searching...
No Matches
IIoComponent.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
#include <
GaudiKernel/INamedInterface.h
>
13
#include <
GaudiKernel/StatusCode.h
>
14
15
class
GAUDI_API
IIoComponent
:
virtual
public
INamedInterface
{
16
public
:
17
DeclareInterfaceID
(
IIoComponent
, 1, 0 );
18
22
virtual
StatusCode
io_reinit
() = 0;
23
24
virtual
StatusCode
io_finalize
() {
return
StatusCode::SUCCESS
; }
25
};
INamedInterface.h
GAUDI_API
#define GAUDI_API
Definition
Kernel.h:49
StatusCode.h
IIoComponent
Definition
IIoComponent.h:15
IIoComponent::io_finalize
virtual StatusCode io_finalize()
Definition
IIoComponent.h:24
IIoComponent::DeclareInterfaceID
DeclareInterfaceID(IIoComponent, 1, 0)
IIoComponent::io_reinit
virtual StatusCode io_reinit()=0
callback method to reinitialize the internal state of the component for I/O purposes (e....
INamedInterface
IInterface compliant class extending IInterface with the name() method.
Definition
INamedInterface.h:23
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
StatusCode::SUCCESS
constexpr static const auto SUCCESS
Definition
StatusCode.h:99
GaudiKernel
include
GaudiKernel
IIoComponent.h
Generated on
for The Gaudi Framework by
1.17.0