#include <application.hpp>
|
boost::program_options::options_description | cmd_desc |
|
boost::program_options::options_description | config_desc |
|
boost::program_options::positional_options_description | pos_desc |
|
shared_ptr< logging::sinks::synchronous_sink< logging::sinks::text_file_backend > > | fileLogger |
|
shared_ptr< logging::sinks::synchronous_sink< logging::sinks::basic_text_ostream_backend< char > > > | consoleLogger |
|
Definition at line 38 of file application.hpp.
Application::Application |
( |
| ) |
|
void Application::appRun |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
private |
Creates the Configuration and runs the application.
- Parameters
-
argc | number of arguments passed to this program |
argv | arguments passed to this program |
Definition at line 79 of file applications.cpp.
virtual void Application::customInitLog |
( |
const shared_ptr< Configuration > & |
config | ) |
|
|
inlineprotectedvirtual |
bool Application::diagnosticCheckFile |
( |
const shared_ptr< Configuration > & |
config, |
|
|
const string & |
key |
|
) |
| |
|
protected |
void Application::initLog |
( |
const shared_ptr< Configuration > & |
config | ) |
|
|
private |
virtual void Application::onRun |
( |
const shared_ptr< Configuration > & |
config | ) |
|
|
protectedpure virtual |
int Application::start |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Starts the aplication with or without Exceptionhandling.
- Parameters
-
argc | number of arguments passed to this program |
argv | arguments passed to this program |
- Returns
- Returns 0 if everything was fine and 1 if the program exited unexpected.
Definition at line 50 of file applications.cpp.
virtual bool Application::startupDiagnostic |
( |
const shared_ptr< Configuration > & |
config | ) |
|
|
protectedpure virtual |
boost::program_options::options_description Application::cmd_desc |
|
protected |
boost::program_options::options_description Application::config_desc |
|
protected |
shared_ptr< logging::sinks::synchronous_sink< logging::sinks::basic_text_ostream_backend< char > > > Application::consoleLogger |
|
protected |
shared_ptr< logging::sinks::synchronous_sink< logging::sinks::text_file_backend > > Application::fileLogger |
|
protected |
boost::program_options::positional_options_description Application::pos_desc |
|
protected |
The documentation for this class was generated from the following files: