NCBI C++ ToolKit
Public Member Functions | Public Attributes | List of all members
SCompoundIDObjectPool< Poolable, FieldTypeOrIDClass > Struct Template Reference

Search Toolkit Book for SCompoundIDObjectPool

#include "compound_id_impl.hpp"
(Private to src/connect/services.)

+ Inheritance diagram for SCompoundIDObjectPool< Poolable, FieldTypeOrIDClass >:
+ Collaboration diagram for SCompoundIDObjectPool< Poolable, FieldTypeOrIDClass >:

Public Member Functions

 SCompoundIDObjectPool ()
 
Poolable * Alloc ()
 
void ReturnToPool (Poolable *element)
 
 ~SCompoundIDObjectPool ()
 

Public Attributes

CFastMutex m_Mutex
 
Poolable * m_Head
 

Detailed Description

template<typename Poolable, typename FieldTypeOrIDClass>
struct SCompoundIDObjectPool< Poolable, FieldTypeOrIDClass >

Definition at line 191 of file compound_id_impl.hpp.

Constructor & Destructor Documentation

◆ SCompoundIDObjectPool()

template<typename Poolable , typename FieldTypeOrIDClass >
SCompoundIDObjectPool< Poolable, FieldTypeOrIDClass >::SCompoundIDObjectPool ( )
inline

Definition at line 193 of file compound_id_impl.hpp.

◆ ~SCompoundIDObjectPool()

template<typename Poolable , typename FieldTypeOrIDClass >
SCompoundIDObjectPool< Poolable, FieldTypeOrIDClass >::~SCompoundIDObjectPool ( )
inline

Definition at line 221 of file compound_id_impl.hpp.

Member Function Documentation

◆ Alloc()

template<typename Poolable , typename FieldTypeOrIDClass >
Poolable* SCompoundIDObjectPool< Poolable, FieldTypeOrIDClass >::Alloc ( )
inline

Definition at line 200 of file compound_id_impl.hpp.

◆ ReturnToPool()

template<typename Poolable , typename FieldTypeOrIDClass >
void SCompoundIDObjectPool< Poolable, FieldTypeOrIDClass >::ReturnToPool ( Poolable *  element)
inline

Definition at line 213 of file compound_id_impl.hpp.

Referenced by SCompoundIDImpl::DeleteThis(), and SCompoundIDImpl::Remove().

Member Data Documentation

◆ m_Head

template<typename Poolable , typename FieldTypeOrIDClass >
Poolable* SCompoundIDObjectPool< Poolable, FieldTypeOrIDClass >::m_Head

◆ m_Mutex

template<typename Poolable , typename FieldTypeOrIDClass >
CFastMutex SCompoundIDObjectPool< Poolable, FieldTypeOrIDClass >::m_Mutex

The documentation for this struct was generated from the following file:
Modified on Tue Jul 16 13:21:56 2024 by modify_doxy.py rev. 669887