The Nebula Device 3: App::AsyncViewerApplication Class Reference

The Nebula Device 3

App::AsyncViewerApplication Class Reference

#include <asyncviewerapplication.h>

Inheritance diagram for App::AsyncViewerApplication:

App::AsyncRenderApplication App::Application


Detailed Description

Derived from AsyncRenderApplication, adds support for Stages, Views and GraphicsEntities to the asynchronour render app.

(C) 2007 Radon Labs GmbH

Public Member Functions

 AsyncViewerApplication ()
 constructor
virtual ~AsyncViewerApplication ()
 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

virtual void OnProcessInput ()
 process input (called before rendering)
virtual void OnUpdateFrame ()
 update world
void SetQuitRequested (bool b)
 set quit requested flag
bool IsQuitRequested () const
 return true if quit requested
virtual void OnConfigureDisplay ()
 called to configure display
Timing::Time GetTime () const
 get current absolute time
Timing::Time GetFrameTime () const
 get current frame time
void SetReturnCode (int c)
 set return code