NCBI C++ ToolKit
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
CInitMutex_Base Class Reference

Search Toolkit Book for CInitMutex_Base

#include <util/mutex_pool.hpp>

+ Inheritance diagram for CInitMutex_Base:
+ Collaboration diagram for CInitMutex_Base:

Public Member Functions

 DECLARE_OPERATOR_BOOL (m_Initialized.load(memory_order_acquire))

Protected Types

typedef CInitMutexPool::TMutex TMutex

Protected Member Functions

 CInitMutex_Base (void)
 CInitMutex_Base (const CInitMutex_Base &mutex)
 ~CInitMutex_Base (void)

Protected Attributes

CRef< TMutexm_Mutex
CRef< CObjectm_Object
atomic< boolm_Initialized

Private Member Functions

const CInitMutex_Baseoperator= (const CInitMutex_Base &)=delete


class CInitMutexPool

Detailed Description

Definition at line 110 of file mutex_pool.hpp.

Member Typedef Documentation

◆ TMutex

Definition at line 134 of file mutex_pool.hpp.

Constructor & Destructor Documentation

◆ CInitMutex_Base() [1/2]

CInitMutex_Base::CInitMutex_Base ( void  )

Definition at line 116 of file mutex_pool.hpp.

◆ CInitMutex_Base() [2/2]

CInitMutex_Base::CInitMutex_Base ( const CInitMutex_Base mutex)

Definition at line 122 of file mutex_pool.hpp.

◆ ~CInitMutex_Base()

CInitMutex_Base::~CInitMutex_Base ( void  )

Definition at line 127 of file mutex_pool.hpp.

References _ASSERT, and m_Mutex.

Member Function Documentation


CInitMutex_Base::DECLARE_OPERATOR_BOOL ( m_Initialized.  loadmemory_order_acquire)

◆ operator=()

const CInitMutex_Base& CInitMutex_Base::operator= ( const CInitMutex_Base )

Friends And Related Function Documentation

◆ CInitMutexPool

friend class CInitMutexPool

Definition at line 132 of file mutex_pool.hpp.

Member Data Documentation

◆ m_Initialized

atomic<bool> CInitMutex_Base::m_Initialized

Definition at line 138 of file mutex_pool.hpp.

Referenced by CInitMutex< SAnnotSetCache >::Reset().

◆ m_Mutex

CRef<TMutex> CInitMutex_Base::m_Mutex

Definition at line 136 of file mutex_pool.hpp.

Referenced by ~CInitMutex_Base().

◆ m_Object

CRef<CObject> CInitMutex_Base::m_Object

The documentation for this class was generated from the following file:
Modified on Sun Mar 03 03:16:56 2024 by rev. 669887