NCBI C++ ToolKit
Macros | Typedefs | Functions
scope_info.cpp File Reference
#include <ncbi_pch.hpp>
#include <objmgr/impl/scope_info.hpp>
#include <objmgr/impl/scope_impl.hpp>
#include <objmgr/scope.hpp>
#include <objmgr/impl/synonyms.hpp>
#include <objmgr/impl/data_source.hpp>
#include <objmgr/impl/tse_info.hpp>
#include <objmgr/tse_handle.hpp>
#include <objmgr/impl/seq_entry_info.hpp>
#include <objmgr/seq_entry_handle.hpp>
#include <objmgr/impl/seq_annot_info.hpp>
#include <objmgr/seq_annot_handle.hpp>
#include <objmgr/impl/bioseq_info.hpp>
#include <objmgr/bioseq_handle.hpp>
#include <objmgr/impl/bioseq_set_info.hpp>
#include <objmgr/bioseq_set_handle.hpp>
#include <corelib/ncbi_param.hpp>
#include <algorithm>
+ Include dependency graph for scope_info.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define _TRACE_TSE_LOCK(x)   ((void)0)
 
#define BIOSEQ_TRACE(x)
 

Typedefs

typedef pair< CConstRef< CTSE_Info_Object >, CRef< CScopeInfo_Base > > TDetachedInfoElement
 
typedef vector< TDetachedInfoElementTDetachedInfo
 

Functions

 NCBI_PARAM_DECL (bool, OBJMGR, SCOPE_AUTORELEASE)
 
 NCBI_PARAM_DEF_EX (bool, OBJMGR, SCOPE_AUTORELEASE, true, eParam_NoThread, OBJMGR_SCOPE_AUTORELEASE)
 
static bool s_GetScopeAutoReleaseEnabled (void)
 
 NCBI_PARAM_DECL (unsigned, OBJMGR, SCOPE_AUTORELEASE_SIZE)
 
 NCBI_PARAM_DEF_EX (unsigned, OBJMGR, SCOPE_AUTORELEASE_SIZE, 10, eParam_NoThread, OBJMGR_SCOPE_AUTORELEASE_SIZE)
 
static unsigned s_GetScopeAutoReleaseSize (void)
 
 NCBI_PARAM_DECL (int, OBJMGR, SCOPE_POSTPONE_DELETE)
 
 NCBI_PARAM_DEF_EX (int, OBJMGR, SCOPE_POSTPONE_DELETE, 1, eParam_NoThread, OBJMGR_SCOPE_POSTPONE_DELETE)
 
static int s_GetScopePostponeDelete (void)
 
 DEFINE_STATIC_FAST_MUTEX (sx_UsedTSEMutex)
 
static DECLARE_TLS_VAR (CUnlockedTSEsGuard *, st_Guard)
 

Macro Definition Documentation

◆ _TRACE_TSE_LOCK

#define _TRACE_TSE_LOCK (   x)    ((void)0)

Definition at line 62 of file scope_info.cpp.

◆ BIOSEQ_TRACE

#define BIOSEQ_TRACE (   x)

Definition at line 2047 of file scope_info.cpp.

Typedef Documentation

◆ TDetachedInfo

Definition at line 1943 of file scope_info.cpp.

◆ TDetachedInfoElement

Definition at line 1942 of file scope_info.cpp.

Function Documentation

◆ DECLARE_TLS_VAR()

static DECLARE_TLS_VAR ( CUnlockedTSEsGuard ,
st_Guard   
)
static

◆ DEFINE_STATIC_FAST_MUTEX()

DEFINE_STATIC_FAST_MUTEX ( sx_UsedTSEMutex  )

◆ NCBI_PARAM_DECL() [1/3]

NCBI_PARAM_DECL ( bool  ,
OBJMGR  ,
SCOPE_AUTORELEASE   
)

◆ NCBI_PARAM_DECL() [2/3]

NCBI_PARAM_DECL ( int  ,
OBJMGR  ,
SCOPE_POSTPONE_DELETE   
)

◆ NCBI_PARAM_DECL() [3/3]

NCBI_PARAM_DECL ( unsigned  ,
OBJMGR  ,
SCOPE_AUTORELEASE_SIZE   
)

◆ NCBI_PARAM_DEF_EX() [1/3]

NCBI_PARAM_DEF_EX ( bool  ,
OBJMGR  ,
SCOPE_AUTORELEASE  ,
true  ,
eParam_NoThread  ,
OBJMGR_SCOPE_AUTORELEASE   
)

◆ NCBI_PARAM_DEF_EX() [2/3]

NCBI_PARAM_DEF_EX ( int  ,
OBJMGR  ,
SCOPE_POSTPONE_DELETE  ,
,
eParam_NoThread  ,
OBJMGR_SCOPE_POSTPONE_DELETE   
)

◆ NCBI_PARAM_DEF_EX() [3/3]

NCBI_PARAM_DEF_EX ( unsigned  ,
OBJMGR  ,
SCOPE_AUTORELEASE_SIZE  ,
10  ,
eParam_NoThread  ,
OBJMGR_SCOPE_AUTORELEASE_SIZE   
)

◆ s_GetScopeAutoReleaseEnabled()

static bool s_GetScopeAutoReleaseEnabled ( void  )
static

Definition at line 70 of file scope_info.cpp.

References CSafeStatic< T, Callbacks >::Get(), and NCBI_PARAM_TYPE.

◆ s_GetScopeAutoReleaseSize()

static unsigned s_GetScopeAutoReleaseSize ( void  )
static

Definition at line 81 of file scope_info.cpp.

References CSafeStatic< T, Callbacks >::Get(), and NCBI_PARAM_TYPE.

◆ s_GetScopePostponeDelete()

static int s_GetScopePostponeDelete ( void  )
static
Modified on Tue Apr 23 07:40:38 2024 by modify_doxy.py rev. 669887