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

Search Toolkit Book for CWBMemDeleter

#include "nc_storage_blob.hpp"
(Private to src/app/netcache.)

+ Inheritance diagram for CWBMemDeleter:
+ Collaboration diagram for CWBMemDeleter:

Public Member Functions

 CWBMemDeleter (char *mem, Uint4 mem_size)
virtual ~CWBMemDeleter (void)
- Public Member Functions inherited from CSrvRCUUser
void CallRCU (void)
 Method to be called to schedule call of ExecuteRCU() at appropriate time. More...
 CSrvRCUUser (void)
virtual ~CSrvRCUUser (void)

Private Member Functions

virtual void ExecuteRCU (void)
 Method implementing RCU job that was scheduled earlier by CallRCU(). More...

Private Attributes

char * m_Mem
Uint4 m_MemSize

Additional Inherited Members

- Public Attributes inherited from CSrvRCUUser
TSrvRCUListHook m_RCUListHook

Detailed Description

Definition at line 301 of file nc_storage_blob.hpp.

Constructor & Destructor Documentation

◆ CWBMemDeleter()

CWBMemDeleter::CWBMemDeleter ( char *  mem,
Uint4  mem_size 

Definition at line 1050 of file nc_storage_blob.cpp.

◆ ~CWBMemDeleter()

CWBMemDeleter::~CWBMemDeleter ( void  )

Definition at line 1055 of file nc_storage_blob.cpp.

Member Function Documentation

◆ ExecuteRCU()

void CWBMemDeleter::ExecuteRCU ( void  )

Method implementing RCU job that was scheduled earlier by CallRCU().

Implements CSrvRCUUser.

Definition at line 1059 of file nc_storage_blob.cpp.

References m_Mem, m_MemSize, and s_FreeWriteBackMem().

Member Data Documentation

◆ m_Mem

char* CWBMemDeleter::m_Mem

Definition at line 311 of file nc_storage_blob.hpp.

Referenced by ExecuteRCU().

◆ m_MemSize

Uint4 CWBMemDeleter::m_MemSize

Definition at line 312 of file nc_storage_blob.hpp.

Referenced by ExecuteRCU().

The documentation for this class was generated from the following files:
Modified on Mon May 20 05:01:59 2024 by rev. 669887