ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
MetaDataSvc::ToolLockGuard Class Reference

#include <MetaDataSvc.h>

Collaboration diagram for MetaDataSvc::ToolLockGuard:

Public Member Functions

 ToolLockGuard (const MetaDataSvc &mds)
 
 ~ToolLockGuard ()
 
 ToolLockGuard (const ToolLockGuard &)=delete
 
void operator= (const ToolLockGuard &)=delete
 

Private Attributes

const MetaDataSvcm_mds
 

Detailed Description

Definition at line 243 of file MetaDataSvc.h.

Constructor & Destructor Documentation

◆ ToolLockGuard() [1/2]

MetaDataSvc::ToolLockGuard::ToolLockGuard ( const MetaDataSvc mds)
inline

Definition at line 245 of file MetaDataSvc.h.

245 : m_mds(mds) { m_mds.lockTools(); }

◆ ~ToolLockGuard()

MetaDataSvc::ToolLockGuard::~ToolLockGuard ( )
inline

Definition at line 246 of file MetaDataSvc.h.

246 { m_mds.unlockTools(); }

◆ ToolLockGuard() [2/2]

MetaDataSvc::ToolLockGuard::ToolLockGuard ( const ToolLockGuard )
delete

Member Function Documentation

◆ operator=()

void MetaDataSvc::ToolLockGuard::operator= ( const ToolLockGuard )
delete

Member Data Documentation

◆ m_mds

const MetaDataSvc& MetaDataSvc::ToolLockGuard::m_mds
private

Definition at line 251 of file MetaDataSvc.h.


The documentation for this class was generated from the following file:
MetaDataSvc::lockTools
void lockTools() const
Definition: MetaDataSvc.cxx:639
MetaDataSvc::unlockTools
void unlockTools() const
Definition: MetaDataSvc.cxx:649
MetaDataSvc::ToolLockGuard::m_mds
const MetaDataSvc & m_mds
Definition: MetaDataSvc.h:251