#include <mod_sim_class.hh>

Public Member Functions | |
| ModuleSim (void) | |
| ~ModuleSim () | |
| void | Init (int argc, char **argv, const string &programName) |
| void | Start (void) |
| void | End (void) |
| ModuleMode & | GetModuleMode (void) |
| game::Game & | GetGame (void) |
| bool | IfEyeMode (void) |
| void | SaveScene (void) |
| void | ResetScene (void) |
| ConfigFile & | GetConfigFile (void) |
| bool | SaveState (bool saveView) |
Public Attributes | |
| SceneState | mSceneState |
Private Types | |
| typedef Module | Parent |
Private Member Functions | |
| void | Start2 (void) |
| void | Start3 (void) |
| void | InitPreCmdarg (void) |
| void | InitCmdarg (int argc, char **argv) |
| void | InitPostCmdarg (int argc, char **argv) |
| void | StartStopListeners (bool start) |
| bool | LoadState (void) |
| void | SelfCheck (void) |
Private Attributes | |
| shptr< ModuleMode > | mModuleMode |
| SharedPtr< game::Game > | mGame |
Friends | |
| class | StartupIdleFunctor |
Classes | |
| struct | SceneState |
| class | StartupIdleFunctor |
Initializing and starting libraries are separate actions.
typedef Module mod_sim::ModuleSim::Parent [private] |
| mod_sim::ModuleSim::ModuleSim | ( | void | ) |
ctor/dtor.
| mod_sim::ModuleSim::~ModuleSim | ( | ) |
| void mod_sim::ModuleSim::Init | ( | int | argc, | |
| char ** | argv, | |||
| const string & | programName | |||
| ) | [virtual] |
Called directly by main() [mod_sim_main.cc]. Initialization is split around processing of cmd-line args because some members are assigned by cmd-line args.
Reimplemented from mod_base::Module.
| void mod_sim::ModuleSim::Start | ( | void | ) | [virtual] |
The top-level that starts of the program. This is the point where initialization is complete and execution will progress into the gfxsys.
...StartupIdleFunctor::operator()...
Reimplemented from mod_base::Module.
| void mod_sim::ModuleSim::Start2 | ( | void | ) | [private] |
| void mod_sim::ModuleSim::Start3 | ( | void | ) | [private] |
| void mod_sim::ModuleSim::End | ( | void | ) | [virtual] |
Stop module.
Reimplemented from mod_base::Module.
| void mod_sim::ModuleSim::InitPreCmdarg | ( | void | ) | [private] |
Initialization (before cmd-line args).
Reimplemented from mod_base::Module.
| void mod_sim::ModuleSim::InitCmdarg | ( | int | argc, | |
| char ** | argv | |||
| ) | [private] |
Process command-line args.
Reimplemented from mod_base::Module.
| void mod_sim::ModuleSim::InitPostCmdarg | ( | int | argc, | |
| char ** | argv | |||
| ) | [private] |
Initialization (after cmd-line args).
| void mod_sim::ModuleSim::StartStopListeners | ( | bool | start | ) | [private] |
| ModuleMode& mod_sim::ModuleSim::GetModuleMode | ( | void | ) | [inline, virtual] |
Implements mod_base::Module.
| game::Game& mod_sim::ModuleSim::GetGame | ( | void | ) | [inline] |
| bool mod_sim::ModuleSim::IfEyeMode | ( | void | ) | [inline] |
| void mod_sim::ModuleSim::SaveScene | ( | void | ) |
Save and reset/restore scene.
| void mod_sim::ModuleSim::ResetScene | ( | void | ) |
| ConfigFile & mod_sim::ModuleSim::GetConfigFile | ( | void | ) | [virtual] |
Get ConfigFile object.
Implements mod_base::Module.
| bool mod_sim::ModuleSim::SaveState | ( | bool | saveView | ) | [virtual] |
Save state to configuration file.
Implements mod_base::Module.
| bool mod_sim::ModuleSim::LoadState | ( | void | ) | [private, virtual] |
Load state from configuration file.
Implements mod_base::Module.
| void mod_sim::ModuleSim::SelfCheck | ( | void | ) | [private] |
Self-checks. Causes program exit if any fail.
Reimplemented from mod_base::Module.
friend class StartupIdleFunctor [friend] |
shptr<ModuleMode> mod_sim::ModuleSim::mModuleMode [private] |
SharedPtr<game::Game> mod_sim::ModuleSim::mGame [private] |
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:30 2007