#include <application_server.h>
Inherits Application.
Inheritance diagram for ApplicationServer:


Public Member Functions | |
| ApplicationServer () | |
| ~ApplicationServer () | |
| void | init () |
| Inicialization of application. | |
| void | run () |
| void | clean () |
| GameServer & | getGame () |
| virtual Game * | getGameCommon () |
| Get pointer to Game. | |
| Commander & | getCommander () |
| Provide access to the commander. | |
Private Member Functions | |
| ApplicationServer (ApplicationServer ©) | |
| Program killer - trap. | |
Private Attributes | |
| GameServer | mGameServer |
| CommanderServer | mCommanderServer |
Definition at line 13 of file application_server.h.
|
|
Definition at line 7 of file application_server.cpp. References TIN. |
|
|
Definition at line 12 of file application_server.cpp. |
|
|
Program killer - trap. From security reasons we don't allow anyone to create copy of Application since it is probably a mistake. Anyway calling this constructor will kill program.
Definition at line 17 of file application_server.cpp. References DIE(), LOGE, and TIN. Here is the call graph for this function: ![]() |
|
|
Implements Application. Definition at line 57 of file application_server.cpp. References Application::saveUserConfigFile(), and TIN. Here is the call graph for this function: ![]() |
|
|
Provide access to the commander. This may be used to push commands to commander anywhere from the code. Implements Application. Definition at line 77 of file application_server.cpp. References mCommanderServer. Referenced by init(), and ConsoleText::run(). |
|
|
Definition at line 65 of file application_server.cpp. References mGameServer. Referenced by TaskSimulationServer::checkTerrainHeights(), CommanderServer::command_quit(), TaskSimulationServer::setCollModelTransformations(), TaskSimulationServer::tick(), TaskSimulationServer::update(), and TaskSimulationServer::updateHistory(). |
|
|
Get pointer to Game. If you are in client or server code use getGame() which return server or client version of Game so you have acces to more features :-) Please never retype this GameClient or GameServer.
Implements Application. Definition at line 70 of file application_server.cpp. References mGameServer. |
|
|
Inicialization of application.
Implements Application. Definition at line 25 of file application_server.cpp. References TaskManager::add(), g_log, g_settings, getCommander(), Settings::getInt(), Settings::getString(), Log::init(), Settings::isTrue(), Application::loadUserConfigFile(), LOGI, Application::mTaskManager, Log::set_loglevel(), and TIN. Here is the call graph for this function: ![]() |
|
|
Implements Application. Definition at line 42 of file application_server.cpp. References GameServer::init(), LOGI, mGameServer, GameServer::run(), and TIN. Here is the call graph for this function: ![]() |
|
|
Definition at line 44 of file application_server.h. Referenced by getCommander(). |
|
|
Definition at line 43 of file application_server.h. Referenced by getGame(), getGameCommon(), and run(). |
1.4.5