src/corelib/ncbiapp.cpp File Reference

#include <ncbi_pch.hpp>
#include <corelib/ncbiapp.hpp>
#include <corelib/ncbifile.hpp>
#include <corelib/ncbi_system.hpp>
#include <corelib/ncbi_param.hpp>
#include <corelib/syslog.hpp>
#include <corelib/error_codes.hpp>
#include <corelib/ncbi_safe_static.hpp>

Include dependency graph for ncbiapp.cpp:

Go to the source code of this file.

Classes

class  CIdlerWrapper

Defines

#define NCBI_USE_ERRCODE_X   Corelib_App

Functions

 NCBI_PARAM_DECL (bool, Debug, Catch_Unhandled_Exceptions)
 NCBI_PARAM_DEF_EX (bool, Debug, Catch_Unhandled_Exceptions, true, eParam_NoThread, DEBUG_CATCH_UNHANDLED_EXCEPTIONS)
typedef NCBI_PARAM_TYPE (Debug, Catch_Unhandled_Exceptions) TParamCatchExceptions
bool s_HandleExceptions (void)
INcbiIdlerGetIdler (EOwnership ownership)
 Return currently installed idler or NULL.
void SetIdler (INcbiIdler *idler, EOwnership ownership)
 Set new idler and ownership.
void RunIdler (void)
 Execute currently installed idler if any.

Variables

static const char * s_ArgLogFile = "-logfile"
static const char * s_ArgCfgFile = "-conffile"
static const char * s_ArgVersion = "-version"
static const char * s_ArgFullVersion = "-version-full"
static const char * s_ArgDryRun = "-dryrun"
static bool s_IsApplicationStarted = false
CSafeStaticPtr< CIdlerWrappers_IdlerWrapper


Define Documentation

#define NCBI_USE_ERRCODE_X   Corelib_App
 

Definition at line 55 of file ncbiapp.cpp.


Function Documentation

NCBI_PARAM_DECL bool  ,
Debug  ,
Catch_Unhandled_Exceptions 
 

NCBI_PARAM_DEF_EX bool  ,
Debug  ,
Catch_Unhandled_Exceptions  ,
true  ,
eParam_NoThread  ,
DEBUG_CATCH_UNHANDLED_EXCEPTIONS 
 

typedef NCBI_PARAM_TYPE Debug  ,
Catch_Unhandled_Exceptions 
 

bool s_HandleExceptions void   ) 
 

Definition at line 262 of file ncbiapp.cpp.

Referenced by CNcbiApplication::x_TryMain().


Variable Documentation

const char* s_ArgCfgFile = "-conffile" [static]
 

Definition at line 66 of file ncbiapp.cpp.

Referenced by CNcbiApplication::SetupArgDescriptions().

const char* s_ArgDryRun = "-dryrun" [static]
 

Definition at line 69 of file ncbiapp.cpp.

const char* s_ArgFullVersion = "-version-full" [static]
 

Definition at line 68 of file ncbiapp.cpp.

Referenced by CCgiApplication::PreparseArgs().

const char* s_ArgLogFile = "-logfile" [static]
 

Definition at line 65 of file ncbiapp.cpp.

Referenced by CNcbiApplication::SetupArgDescriptions().

const char* s_ArgVersion = "-version" [static]
 

Definition at line 67 of file ncbiapp.cpp.

Referenced by CCgiApplication::PreparseArgs().

CSafeStaticPtr<CIdlerWrapper> s_IdlerWrapper
 

Definition at line 1229 of file ncbiapp.cpp.

Referenced by GetIdler(), RunIdler(), and SetIdler().

bool s_IsApplicationStarted = false [static]
 

Definition at line 76 of file ncbiapp.cpp.

Referenced by CNcbiApplication::SetFullVersion(), and CNcbiApplication::SetVersion().


Generated on Mon Dec 7 07:36:20 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:21:45 2009 by modify_doxy.py rev. 173732