ATLAS Offline Software
Loading...
Searching...
No Matches
ILockable.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id$
14
15
16#ifndef ATHENAKERNEL_ILOCKABLE_H
17#define ATHENAKERNEL_ILOCKABLE_H
18
19
32{
33public:
35 virtual ~ILockable() {}
36
37
45 virtual void lock() = 0;
46};
47
48
49
50#endif // not ATHENAKERNEL_ILOCKABLE_H
Interface to allow an object to lock itself when made const in SG.
Definition ILockable.h:32
virtual ~ILockable()
Destructor.
Definition ILockable.h:35
virtual void lock()=0
Lock this object.