ATLAS Offline Software
Public Member Functions | List of all members
ILockableTool Class Referenceabstract

Provide an interface for locking and unlocking a tool externally. More...

#include <ILockableTool.h>

Inheritance diagram for ILockableTool:
Collaboration diagram for ILockableTool:

Public Member Functions

virtual void lock_shared () const =0
 Lock the tool. More...
 
virtual void unlock_shared () const =0
 Unlock the tool. More...
 

Detailed Description

Provide an interface for locking and unlocking a tool externally.

Used by MetaDataSvc to allow keeping the metadata store locked while external code has references to metadata objects.

Definition at line 24 of file ILockableTool.h.

Member Function Documentation

◆ lock_shared()

virtual void ILockableTool::lock_shared ( ) const
pure virtual

Lock the tool.

Implemented in IOVDbMetaDataTool.

◆ unlock_shared()

virtual void ILockableTool::unlock_shared ( ) const
pure virtual

Unlock the tool.

Implemented in IOVDbMetaDataTool.


The documentation for this class was generated from the following file: