App::RenderApplication Class Reference
#include <renderapplication.h>
Inheritance diagram for App::RenderApplication:
Detailed Description
Render application class with multithreaded rendering.(C) 2008 Radon Labs GmbH
Public Member Functions | |
RenderApplication () | |
constructor | |
virtual | ~RenderApplication () |
destructor | |
void | SetLogFileEnabled (bool b) |
enable/disable log file creation | |
void | SetOverrideRootDirectory (const Util::String &rootDir) |
override root-directory | |
void | SetMountStandardArchivesEnabled (bool b) |
enable/disable standard archive mounting | |
virtual bool | Open () |
open the application | |
virtual void | Close () |
close the application | |
virtual void | Run () |
run the application | |
void | SetCompanyName (const Util::String &n) |
set company name | |
const Util::String & | GetCompanyName () const |
get company name | |
void | SetAppTitle (const Util::String &n) |
set application name | |
const Util::String & | GetAppTitle () const |
get application name | |
void | SetAppID (const Util::String &n) |
set application id | |
const Util::String & | GetAppID () const |
get application id | |
void | SetAppVersion (const Util::String &n) |
set application version | |
const Util::String & | GetAppVersion () const |
get application version | |
void | SetCmdLineArgs (const Util::CommandLineArgs &a) |
set command line args | |
const Util::CommandLineArgs & | GetCmdLineArgs () const |
get command line args | |
virtual void | Exit () |
exit the application, call right before leaving main() | |
bool | IsOpen () const |
return true if app is open | |
int | GetReturnCode () const |
get the return code | |
Protected Member Functions | |
Util::String | LookupProjectDirectory () |
lookup the toolkit project key in the registry (Win32 only!) | |
void | SetQuitRequested (bool b) |
set quit requested flag | |
bool | IsQuitRequested () const |
return true if quit requested | |
virtual void | OnConfigureDisplay () |
called to configure display | |
virtual void | OnSetupResourceMappers () |
called to setup resource mappers | |
virtual void | OnProcessInput () |
process input (called before rendering) | |
virtual void | OnUpdateFrame () |
update world | |
Timing::Time | GetTime () const |
get current absolute time | |
Timing::Time | GetFrameTime () const |
get current frame time | |
void | SetReturnCode (int c) |
set return code |
Member Function Documentation
void App::RenderApplication::OnSetupResourceMappers | ( | ) | [protected, virtual] |
called to setup resource mappers
Configure the resource mapper objects for the render thread. NOTE: ResourceMapper objects are created and configured here (the main thread) and then HANDED OVER to the render thread. DO NOT access ResourceMappers after Display::Open() is called. It's best to create ResourceMappers and then immediately forget about them.