NCBI C++ ToolKit
Classes | Typedefs | Functions | Variables
ncbi_toolkit.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbiapp.hpp>
#include <corelib/ncbidiag.hpp>
#include <corelib/ncbi_toolkit.hpp>
+ Include dependency graph for ncbi_toolkit.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CNcbiToolkitImpl_LogMessage
 
class  CNcbiToolkitImpl_Application
 
class  CNcbiToolkitImpl_DiagHandler
 
class  CNcbiToolkit
 

Typedefs

typedef CNcbiApplication *(* FNcbiApplicationFactory) (void)
 

Functions

CNcbiApplicationDefaultFactory (void)
 
 DEFINE_STATIC_FAST_MUTEX (s_NcbiToolkit_Mtx)
 
void NcbiToolkit_Init (int argc, const TXChar *const *argv, const TXChar *const *envp, INcbiToolkit_LogHandler *log_handler)
 
void NcbiToolkit_Fini (void)
 
void NcbiToolkit_RegisterNcbiApplicationFactory (FNcbiApplicationFactory f)
 

Variables

static FNcbiApplicationFactory s_fAppFactory = DefaultFactory
 
static const CNcbiToolkits_NcbiToolkit = NULL
 
const CNcbiToolkitkNcbiToolkit_Finalized = (const CNcbiToolkit*)(-1L)
 

Typedef Documentation

◆ FNcbiApplicationFactory

typedef CNcbiApplication*( * FNcbiApplicationFactory) (void)

Definition at line 155 of file ncbi_toolkit.cpp.

Function Documentation

◆ DefaultFactory()

CNcbiApplication* DefaultFactory ( void  )

Definition at line 150 of file ncbi_toolkit.cpp.

◆ DEFINE_STATIC_FAST_MUTEX()

DEFINE_STATIC_FAST_MUTEX ( s_NcbiToolkit_Mtx  )

◆ NcbiToolkit_Fini()

void NcbiToolkit_Fini ( void  )

Definition at line 257 of file ncbi_toolkit.cpp.

References kNcbiToolkit_Finalized, NULL, and s_NcbiToolkit.

◆ NcbiToolkit_Init()

void NcbiToolkit_Init ( int  argc,
const TXChar *const argv,
const TXChar *const envp,
INcbiToolkit_LogHandler *  log_handler 
)

Definition at line 242 of file ncbi_toolkit.cpp.

References NULL, and s_NcbiToolkit.

Referenced by Java_org_ncbi_toolkit_NcbiToolkit_init0().

◆ NcbiToolkit_RegisterNcbiApplicationFactory()

void NcbiToolkit_RegisterNcbiApplicationFactory ( FNcbiApplicationFactory  f)

Definition at line 267 of file ncbi_toolkit.cpp.

References f(), and s_fAppFactory.

Variable Documentation

◆ kNcbiToolkit_Finalized

const CNcbiToolkit* kNcbiToolkit_Finalized = (const CNcbiToolkit*)(-1L)

Definition at line 238 of file ncbi_toolkit.cpp.

Referenced by NcbiToolkit_Fini().

◆ s_fAppFactory

FNcbiApplicationFactory s_fAppFactory = DefaultFactory
static

◆ s_NcbiToolkit

const CNcbiToolkit* s_NcbiToolkit = NULL
static

Definition at line 236 of file ncbi_toolkit.cpp.

Referenced by NcbiToolkit_Fini(), and NcbiToolkit_Init().

Modified on Wed Sep 04 15:02:51 2024 by modify_doxy.py rev. 669887