alaCarte Maps
Renderer for OpenStreetMap tiles
AlacarteServerApp Class Reference

Represents the Server-Application. More...

Inheritance diagram for AlacarteServerApp:
Application

Public Member Functions

 AlacarteServerApp ()
 Inits the Configuration descriptions. More...
 
- Public Member Functions inherited from Application
 Application ()
 Inits the new Application. More...
 
int start (int argc, char **argv)
 Starts the aplication with or without Exceptionhandling. More...
 

Protected Member Functions

virtual bool startupDiagnostic (const shared_ptr< Configuration > &config)
 
virtual void customInitLog (const shared_ptr< Configuration > &config)
 
virtual void onRun (const shared_ptr< Configuration > &config)
 Contains the main functionality for the server. More...
 
- Protected Member Functions inherited from Application
bool diagnosticCheckFile (const shared_ptr< Configuration > &config, const string &key)
 

Additional Inherited Members

- Protected Attributes inherited from Application
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
 

Detailed Description

Represents the Server-Application.

Definition at line 52 of file alacarte_server.cpp.

Constructor & Destructor Documentation

AlacarteServerApp::AlacarteServerApp ( )
inline

Inits the Configuration descriptions.

Definition at line 60 of file alacarte_server.cpp.

Member Function Documentation

virtual void AlacarteServerApp::customInitLog ( const shared_ptr< Configuration > &  config)
inlineprotectedvirtual

Reimplemented from Application.

Definition at line 168 of file alacarte_server.cpp.

virtual void AlacarteServerApp::onRun ( const shared_ptr< Configuration > &  config)
inlineprotectedvirtual

Contains the main functionality for the server.

Parameters
configthe configuration for the application

Implements Application.

Definition at line 188 of file alacarte_server.cpp.

virtual bool AlacarteServerApp::startupDiagnostic ( const shared_ptr< Configuration > &  config)
inlineprotectedvirtual

Implements Application.

Definition at line 100 of file alacarte_server.cpp.


The documentation for this class was generated from the following file: