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

Search Toolkit Book for CRequestContextSwitcher

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

+ Collaboration diagram for CRequestContextSwitcher:

Public Member Functions

 CRequestContextSwitcher ()
 
 CRequestContextSwitcher (CRequestContext *new_request_context)
 
void Release ()
 
 ~CRequestContextSwitcher ()
 

Private Attributes

CRef< CRequestContextm_SavedRequestContext
 

Detailed Description

Definition at line 45 of file wn_commit_thread.hpp.

Constructor & Destructor Documentation

◆ CRequestContextSwitcher() [1/2]

CRequestContextSwitcher::CRequestContextSwitcher ( )
inline

Definition at line 48 of file wn_commit_thread.hpp.

◆ CRequestContextSwitcher() [2/2]

CRequestContextSwitcher::CRequestContextSwitcher ( CRequestContext new_request_context)
inline

Definition at line 50 of file wn_commit_thread.hpp.

References CDiagContext::SetRequestContext().

◆ ~CRequestContextSwitcher()

CRequestContextSwitcher::~CRequestContextSwitcher ( )
inline

Definition at line 64 of file wn_commit_thread.hpp.

References Release().

Member Function Documentation

◆ Release()

void CRequestContextSwitcher::Release ( void  )
inline

Member Data Documentation

◆ m_SavedRequestContext

CRef<CRequestContext> CRequestContextSwitcher::m_SavedRequestContext
private

Definition at line 70 of file wn_commit_thread.hpp.

Referenced by Release().


The documentation for this class was generated from the following file:
Modified on Wed Apr 17 13:10:44 2024 by modify_doxy.py rev. 669887