ApplicationBase Class Reference
#include <ApplicationBase.h>
Inherited by MedievalTownNew, and OpenSGApplicationBase.

Public Member Functions | |
| ApplicationBase () | |
| virtual | ~ApplicationBase () |
| bool | start (int argc, char **argv) |
| void | globalCleanup () |
| void | globalUpdate () |
Protected Member Functions | |
| virtual bool | preInit (const CommandLineArgumentWrapper &args) |
| virtual std::string | getConfigFile (const CommandLineArgumentWrapper &args)=0 |
| virtual bool | init (const CommandLineArgumentWrapper &args)=0 |
| virtual void | run ()=0 |
| virtual void | initCoreComponentCallback (CoreComponents comp) |
| virtual void | initInputInterfaceCallback (ModuleInterface *moduleInterface) |
| virtual void | initOutputInterfaceCallback (ModuleInterface *moduleInterface) |
| virtual void | initModuleCallback (ModuleInterface *module) |
| virtual bool | disableAutomaticModuleUpdate () |
| virtual void | manualModuleUpdate (float dt) |
| virtual void | display (float dt)=0 |
| virtual void | cleanup ()=0 |
Protected Attributes | |
| SceneGraphInterface * | sceneGraphInterface |
| Pointer to the SceneGraphInterface. | |
| ControllerManagerInterface * | controllerManager |
| Pointer to the ControllerManager. | |
| NetworkInterface * | networkModule |
| Pointer to the Network Module. | |
| NavigationInterface * | navigationModule |
| Pointer to the Navigation Module. | |
| InteractionInterface * | interactionModule |
| Pointer to the Interaction Module. | |
| User * | localUser |
| Pointer to the local user. | |
| CameraTransformation * | activeCamera |
| Pointer to the user's camera. | |
Private Member Functions | |
| bool | _init (const CommandLineArgumentWrapper &args) |
| bool | _loadConfiguration (std::string configFile) |
| bool | _configureSystemCore () |
| void | _updateModules (float dt) |
| void | _updateController (float dt) |
Static Private Member Functions | |
| static void | _initCoreComponent (CoreComponents comp) |
| static void | _initInputInterface (ModuleInterface *moduleInterface) |
| static void | _initOutputInterface (ModuleInterface *moduleInterface) |
| static void | _initModule (ModuleInterface *module) |
| static void | _handleUnexpectedTermination (int errorCode) |
Private Attributes | |
| FILE * | _logFile |
| Pointer to log file. | |
| bool | _isCleanedUp |
| Variable storing if ApplicationBase was cleaned up already. | |
| float | _lastTime |
| Time when last step was executed. | |
| float | _frameDuration |
| Time between two frames (used when maximum framerate is set). | |
| float | _timeToNextFrame |
| Time until next frame (used when maximum framerate is set). | |
| std::vector< TransformationPipe * > | _trackingPipes |
| List of all active tracking pipes. | |
| inVRsUtilities::ProfilingHelper | _appProfiler |
| Profiling class to find out slow parts of the inVRs application. | |
Static Private Attributes | |
| static ApplicationBase * | _instance = NULL |
| Pointer to application instance. | |
Friends | |
| class | SystemCore |
Constructor & Destructor Documentation
| ApplicationBase::ApplicationBase | ( | ) |
| ApplicationBase::~ApplicationBase | ( | ) | [virtual] |
Member Function Documentation
| bool ApplicationBase::_configureSystemCore | ( | ) | [private] |
| void ApplicationBase::_handleUnexpectedTermination | ( | int | errorCode | ) | [static, private] |
| bool ApplicationBase::_init | ( | const CommandLineArgumentWrapper & | args | ) | [private] |
| void ApplicationBase::_initCoreComponent | ( | CoreComponents | comp | ) | [static, private] |
| void ApplicationBase::_initInputInterface | ( | ModuleInterface * | moduleInterface | ) | [static, private] |
| void ApplicationBase::_initModule | ( | ModuleInterface * | module | ) | [static, private] |
| void ApplicationBase::_initOutputInterface | ( | ModuleInterface * | moduleInterface | ) | [static, private] |
| bool ApplicationBase::_loadConfiguration | ( | std::string | configFile | ) | [private] |
| void ApplicationBase::_updateController | ( | float | dt | ) | [private] |
| void ApplicationBase::_updateModules | ( | float | dt | ) | [private] |
| virtual void ApplicationBase::cleanup | ( | ) | [protected, pure virtual] |
Implemented in OpenSGApplicationBase, GoingImmersive, GoingImmersive, GoingImmersive, GoingImmersive, GoingImmersive, GoingImmersive, MedievalTownAppBase, MedievalTownNew, MedievalTownPhysics, MedievalTownPhysics, MedievalTownPhysics, MedievalTownPhysics, MedievalTownPhysics, and MedievalTownPhysics.
| bool ApplicationBase::disableAutomaticModuleUpdate | ( | ) | [protected, virtual] |
| virtual void ApplicationBase::display | ( | float | dt | ) | [protected, pure virtual] |
Implemented in OpenSGApplicationBase, GoingImmersive, GoingImmersive, GoingImmersive, GoingImmersive, GoingImmersive, GoingImmersive, MedievalTownAppBase, MedievalTownNew, MedievalTownPhysics, MedievalTownPhysics, MedievalTownPhysics, MedievalTownPhysics, MedievalTownPhysics, and MedievalTownPhysics.
| virtual std::string ApplicationBase::getConfigFile | ( | const CommandLineArgumentWrapper & | args | ) | [protected, pure virtual] |
Implemented in OpenSGApplicationBase, GoingImmersive, GoingImmersive, GoingImmersive, GoingImmersive, GoingImmersive, GoingImmersive, MedievalTownAppBase, MedievalTownNew, MedievalTownPhysics, MedievalTownPhysics, MedievalTownPhysics, MedievalTownPhysics, MedievalTownPhysics, and MedievalTownPhysics.
| void ApplicationBase::globalCleanup | ( | ) |
| void ApplicationBase::globalUpdate | ( | ) |
| virtual bool ApplicationBase::init | ( | const CommandLineArgumentWrapper & | args | ) | [protected, pure virtual] |
Implemented in OpenSGApplicationBase, and MedievalTownNew.
| void ApplicationBase::initCoreComponentCallback | ( | CoreComponents | comp | ) | [protected, virtual] |
| void ApplicationBase::initInputInterfaceCallback | ( | ModuleInterface * | moduleInterface | ) | [protected, virtual] |
Reimplemented in OpenSGApplicationBase, GoingImmersive, GoingImmersive, GoingImmersive, GoingImmersive, MedievalTownAppBase, and MedievalTownPhysics.
| void ApplicationBase::initModuleCallback | ( | ModuleInterface * | module | ) | [protected, virtual] |
Reimplemented in OpenSGApplicationBase, MedievalTownPhysics, MedievalTownPhysics, MedievalTownPhysics, and MedievalTownPhysics.
| void ApplicationBase::initOutputInterfaceCallback | ( | ModuleInterface * | moduleInterface | ) | [protected, virtual] |
Reimplemented in OpenSGApplicationBase.
| void ApplicationBase::manualModuleUpdate | ( | float | dt | ) | [protected, virtual] |
| bool ApplicationBase::preInit | ( | const CommandLineArgumentWrapper & | args | ) | [protected, virtual] |
Reimplemented in OpenSGApplicationBase, and MedievalTownNew.
| virtual void ApplicationBase::run | ( | ) | [protected, pure virtual] |
Implemented in OpenSGApplicationBase, and MedievalTownNew.
| bool ApplicationBase::start | ( | int | argc, | |
| char ** | argv | |||
| ) |
Friends And Related Function Documentation
friend class SystemCore [friend] |
Member Data Documentation
Profiling class to find out slow parts of the inVRs application.
float ApplicationBase::_frameDuration [private] |
Time between two frames (used when maximum framerate is set).
ApplicationBase * ApplicationBase::_instance = NULL [static, private] |
bool ApplicationBase::_isCleanedUp [private] |
Variable storing if ApplicationBase was cleaned up already.
float ApplicationBase::_lastTime [private] |
Time when last step was executed.
FILE* ApplicationBase::_logFile [private] |
Pointer to log file.
float ApplicationBase::_timeToNextFrame [private] |
Time until next frame (used when maximum framerate is set).
std::vector<TransformationPipe*> ApplicationBase::_trackingPipes [private] |
List of all active tracking pipes.
CameraTransformation* ApplicationBase::activeCamera [protected] |
Pointer to the user's camera.
Pointer to the ControllerManager.
InteractionInterface* ApplicationBase::interactionModule [protected] |
Pointer to the Interaction Module.
User* ApplicationBase::localUser [protected] |
Pointer to the local user.
NavigationInterface* ApplicationBase::navigationModule [protected] |
Pointer to the Navigation Module.
NetworkInterface* ApplicationBase::networkModule [protected] |
Pointer to the Network Module.
SceneGraphInterface* ApplicationBase::sceneGraphInterface [protected] |
Pointer to the SceneGraphInterface.
The documentation for this class was generated from the following files:
- src/inVRs/SystemCore/ApplicationBase.h
- src/inVRs/SystemCore/ApplicationBase.cpp
Generated on Wed Oct 20 16:11:53 2010 for inVRs by
1.5.8