ATLAS Offline Software
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$
16 #ifndef ATHENAKERNEL_ILOCKABLE_H
17 #define ATHENAKERNEL_ILOCKABLE_H
18 
19 
31 class ILockable
32 {
33 public:
35  virtual ~ILockable() {}
36 
37 
45  virtual void lock() = 0;
46 };
47 
48 
49 
50 #endif // not ATHENAKERNEL_ILOCKABLE_H
ILockable::lock
virtual void lock()=0
Lock this object.
ILockable::~ILockable
virtual ~ILockable()
Destructor.
Definition: ILockable.h:35
ILockable
Interface to allow an object to lock itself when made const in SG.
Definition: ILockable.h:32