The Nebula Device 3: App::AsyncRenderApplication Class Reference

The Nebula Device 3

App::AsyncRenderApplication Class Reference

#include <asyncrenderapplication.h>

Inheritance diagram for App::AsyncRenderApplication:

App::Application App::AsyncViewerApplication


Detailed Description

Render application class with multithreaded rendering.

(C) 2008 Radon Labs GmbH

Public Member Functions

 AsyncRenderApplication ()
 constructor
virtual ~AsyncRenderApplication ()
 destructor
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::StringGetCompanyName () const
 get company name
void SetAppName (const Util::String &n)
 set application name
const Util::StringGetAppName () const
 get application name
void SetCmdLineArgs (const Util::CmdLineArgs &a)
 set command line args
const Util::CmdLineArgsGetCmdLineArgs () 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

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 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