omegalib  13.1
omega::DisplaySystem Class Referenceabstract

#include <DisplaySystem.h>

Public Types

enum  DisplaySystemType { Invalid, Equalizer, Glut, Null }
 

Public Member Functions

virtual ~DisplaySystem ()
 
virtual void setup (Setting &setting)
 
virtual void initialize (SystemManager *sys)
 
virtual void run ()=0
 Starts display system rendering. More...
 
virtual void cleanup ()
 
virtual DisplaySystemType getId ()
 
virtual void killCluster ()
 
Ray getViewRay (Vector2i position)
 
bool getViewRayFromEvent (const Event &evt, Ray &ray, bool normalizedPointerCoords=false)
 
virtual DisplayConfiggetDisplayConfig ()
 
void frameStarted ()
 
void frameFinished ()
 internal Called internally by derived classes to signal the end of a frame. More...
 
- Public Member Functions inherited from omicron::ReferenceType
 ReferenceType ()
 
virtual ~ReferenceType ()
 
void ref ()
 
void unref ()
 
long refCount ()
 

Protected Member Functions

 DisplaySystem ()
 

Protected Attributes

DisplayConfig myDisplayConfig
 

Additional Inherited Members

- Static Public Member Functions inherited from omicron::ReferenceType
static void printObjCounts ()
 
- Static Protected Attributes inherited from omicron::ReferenceType
static List< ReferenceType * > mysObjList
 
+ Inheritance diagram for omega::DisplaySystem:

Member Enumeration Documentation

Enumerator
Invalid 
Equalizer 
Glut 
Null 

Constructor & Destructor Documentation

virtual omega::DisplaySystem::~DisplaySystem ( )
inlinevirtual
omega::DisplaySystem::DisplaySystem ( )
inlineprotected

Member Function Documentation

virtual void omega::DisplaySystem::cleanup ( )
inlinevirtual
void omega::DisplaySystem::frameFinished ( )
inline

internal Called internally by derived classes to signal the end of a frame.

void omega::DisplaySystem::frameStarted ( )
inline

Called internally by derived classes to signal the beginning of a new frame.

virtual DisplayConfig& omega::DisplaySystem::getDisplayConfig ( )
inlinevirtual
virtual DisplaySystemType omega::DisplaySystem::getId ( )
inlinevirtual

Reimplemented in omega::NullDisplaySystem.

Ray omega::DisplaySystem::getViewRay ( Vector2i  position)
inline
bool omega::DisplaySystem::getViewRayFromEvent ( const Event evt,
Ray ray,
bool  normalizedPointerCoords = false 
)
inline
virtual void omega::DisplaySystem::initialize ( SystemManager sys)
inlinevirtual
virtual void omega::DisplaySystem::killCluster ( )
inlinevirtual
virtual void omega::DisplaySystem::run ( )
pure virtual

Starts display system rendering.

This call does not return until the current omegalib application sends an exit request to the system manager.

Implemented in omega::NullDisplaySystem.

virtual void omega::DisplaySystem::setup ( Setting setting)
inlinevirtual

Member Data Documentation

DisplayConfig omega::DisplaySystem::myDisplayConfig
protected

The documentation for this class was generated from the following file: