NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <corelib/ncbiapp.hpp>
#include <corelib/ncbidiag.hpp>
#include <corelib/ncbi_toolkit.hpp>
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 | |
CNcbiApplication * | DefaultFactory (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 CNcbiToolkit * | s_NcbiToolkit = NULL |
const CNcbiToolkit * | kNcbiToolkit_Finalized = (const CNcbiToolkit*)(-1L) |
typedef CNcbiApplication*( * FNcbiApplicationFactory) (void) |
Definition at line 155 of file ncbi_toolkit.cpp.
CNcbiApplication* DefaultFactory | ( | void | ) |
Definition at line 150 of file ncbi_toolkit.cpp.
DEFINE_STATIC_FAST_MUTEX | ( | s_NcbiToolkit_Mtx | ) |
void NcbiToolkit_Fini | ( | void | ) |
Definition at line 257 of file ncbi_toolkit.cpp.
References kNcbiToolkit_Finalized, NULL, and s_NcbiToolkit.
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().
void NcbiToolkit_RegisterNcbiApplicationFactory | ( | FNcbiApplicationFactory | f | ) |
Definition at line 267 of file ncbi_toolkit.cpp.
References f(), and s_fAppFactory.
const CNcbiToolkit* kNcbiToolkit_Finalized = (const CNcbiToolkit*)(-1L) |
Definition at line 238 of file ncbi_toolkit.cpp.
Referenced by NcbiToolkit_Fini().
|
static |
Definition at line 156 of file ncbi_toolkit.cpp.
Referenced by CNcbiToolkit::CNcbiToolkit(), and NcbiToolkit_RegisterNcbiApplicationFactory().
|
static |
Definition at line 236 of file ncbi_toolkit.cpp.
Referenced by NcbiToolkit_Fini(), and NcbiToolkit_Init().