ATLAS Offline Software
Control
AthenaKernel
AthenaKernel
IResetable.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ATHENAKERNEL_IRESETABLE_H
6
#define ATHENAKERNEL_IRESETABLE_H
7
8
#include <string>
9
15
class
IResetable
{
16
public
:
17
virtual
~IResetable
() {}
18
30
virtual
void
reset
(
bool
hard) = 0;
31
33
virtual
void
finalReset
() {};
34
virtual
bool
isSet
()
const
= 0;
35
virtual
const
std::string&
key
()
const
= 0;
36
};
37
38
#endif
IResetable::finalReset
virtual void finalReset()
optional special action on final reset call (e.g. in caller destructor)
Definition:
IResetable.h:33
IResetable
a resetable object (e.g. a SG DataHandle)
Definition:
IResetable.h:15
IResetable::isSet
virtual bool isSet() const =0
IResetable::key
virtual const std::string & key() const =0
IResetable::~IResetable
virtual ~IResetable()
Definition:
IResetable.h:17
IResetable::reset
virtual void reset(bool hard)=0
Clear cached data from this object.
Generated on Wed Mar 12 2025 21:12:22 for ATLAS Offline Software by
1.8.18