#include <Application.h>
Collaboration diagram for Application:

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 |
Definition at line 14 of file Application.h.
| virtual Application::~Application | ( | ) | [private, pure virtual] |
| 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.
References ERROR, FAILURE, help(), MSG_COMMAND_LINE_MISSING_OPTION_PARAMETER, MSG_COMMAND_LINE_UNKNOWN_OPTION, OK, and version().
Referenced by init().
| void Application::initExceptionsHandling | ( | ) | [static, private] |
| void Application::exceptionHandler | ( | int | , | |
| siginfo_t * | info, | |||
| void * | ||||
| ) | [static, private] |
Definition at line 104 of file Application.cpp.
References BACKTRACE.
Referenced by initExceptionsHandling().
String Application::_name [static, private] |
String Application::_version [static, private] |
1.5.1