ATLAS Offline Software
Loading...
Searching...
No Matches
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
16public:
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
a resetable object (e.g.
Definition IResetable.h:15
virtual ~IResetable()
Definition IResetable.h:17
virtual void reset(bool hard)=0
Clear cached data from this object.
virtual void finalReset()
optional special action on final reset call (e.g. in caller destructor)
Definition IResetable.h:33
virtual const std::string & key() const =0
virtual bool isSet() const =0