Application Class Reference

#include <Application.h>

Collaboration diagram for Application:

Collaboration graph
List of all members.

Static Public Member Functions

static int init (const String &name, const String &version, int argc=0, char **argv=NULL)

Private Member Functions

virtual ~Application ()=0

Static Private Member Functions

static void version ()
static void help (const char *fileName)
static int parseCommandLine (int argc, char **argv)
static void initExceptionsHandling ()
static void exceptionHandler (int, siginfo_t *info, void *)

Static Private Attributes

static String _name
static String _version

Detailed Description

Definition at line 14 of file Application.h.

Constructor & Destructor Documentation

virtual Application::~Application (  )  [private, pure virtual]

Member Function Documentation

int Application::init ( const String name,
const String version,
int  argc = 0,
char **  argv = NULL 
) [static]

Definition at line 24 of file Application.cpp.

References _name, _version, ERROR_BACKTRACE(), FAILED(), Core::init(), initExceptionsHandling(), OK, parseCommandLine(), and version().

void Application::version (  )  [static, private]

Definition at line 49 of file Application.cpp.

References _name, _version, BUILD_DATE_TIME, and CSTRING().

Referenced by help(), init(), and parseCommandLine().

void Application::help ( const char *  fileName  )  [static, private]

Definition at line 55 of file Application.cpp.

References version().

Referenced by parseCommandLine().

int Application::parseCommandLine ( int  argc,
char **  argv 
) [static, private]

Definition at line 63 of file Application.cpp.


Referenced by init().

void Application::initExceptionsHandling (  )  [static, private]

Definition at line 90 of file Application.cpp.

References exceptionHandler().

Referenced by init().

void Application::exceptionHandler ( int  ,
siginfo_t *  info,
void *   
) [static, private]

Definition at line 104 of file Application.cpp.

References BACKTRACE.

Referenced by initExceptionsHandling().

Member Data Documentation

String Application::_name [static, private]

Definition at line 31 of file Application.h.

Referenced by init(), and version().

String Application::_version [static, private]

Definition at line 32 of file Application.h.

Referenced by init(), and version().

The documentation for this class was generated from the following files:
Generated on Thu Sep 6 20:13:27 2007 for Pylon Application Platform by  doxygen 1.5.1