NCBI C++ ToolKit
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CLockerGuard Class Reference

Search Toolkit Book for CLockerGuard

#include <gui/utils/locker.hpp>

+ Collaboration diagram for CLockerGuard:

Public Member Functions

 CLockerGuard (ILocker *locker, ICanceled *canceled)
 
 ~CLockerGuard ()
 
 CLockerGuard (const CLockerGuard &g)
 
void operator= (const CLockerGuard &g)
 

Private Member Functions

ILockerx_Release () const
 

Private Attributes

ILockerm_Locker
 

Detailed Description

Definition at line 49 of file locker.hpp.

Constructor & Destructor Documentation

◆ CLockerGuard() [1/2]

CLockerGuard::CLockerGuard ( ILocker locker,
ICanceled canceled 
)
inlineexplicit

Definition at line 52 of file locker.hpp.

References ILocker::Lock(), and m_Locker.

◆ ~CLockerGuard()

CLockerGuard::~CLockerGuard ( )
inline

Definition at line 56 of file locker.hpp.

References m_Locker, and ILocker::Unlock().

◆ CLockerGuard() [2/2]

CLockerGuard::CLockerGuard ( const CLockerGuard g)
inline

Definition at line 58 of file locker.hpp.

Member Function Documentation

◆ operator=()

void CLockerGuard::operator= ( const CLockerGuard g)
inline

Definition at line 59 of file locker.hpp.

References g(), and m_Locker.

◆ x_Release()

ILocker* CLockerGuard::x_Release ( void  ) const
inlineprivate

Definition at line 62 of file locker.hpp.

References m_Locker.

Member Data Documentation

◆ m_Locker

ILocker* CLockerGuard::m_Locker
mutableprivate

Definition at line 64 of file locker.hpp.

Referenced by CLockerGuard(), operator=(), x_Release(), and ~CLockerGuard().


The documentation for this class was generated from the following file:
Modified on Sun Apr 14 05:25:08 2024 by modify_doxy.py rev. 669887