Equalizer  1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
eq::WindowSystemIF Class Referenceabstract

The interface for windowing toolkits. More...

#include <windowSystem.h>

+ Collaboration diagram for eq::WindowSystemIF:

Protected Member Functions

EQ_API WindowSystemIF ()
 Create a new window system instance. More...
 
virtual ~WindowSystemIF ()
 Destroy the window system instance. More...
 
virtual std::string getName () const =0
 
virtual SystemPipecreatePipe (Pipe *pipe) const =0
 
virtual MessagePumpcreateMessagePump () const =0
 
virtual SystemWindowcreateWindow (Window *window, const WindowSettings &settings) const =0
 
virtual bool setupFont (util::ObjectManager &gl, const void *key, const std::string &name, const uint32_t size) const =0
 Create a set of display lists for the given font. More...
 
virtual void configInit (Node *)
 Perform per-process initialization for a Config. More...
 
virtual void configExit (Node *)
 Perform per-process de-initialization for a Config. More...
 

Static Protected Member Functions

static uint32_t _setupLists (util::ObjectManager &gl, const void *key, const int num)
 

Friends

class WindowSystem
 

Detailed Description

The interface for windowing toolkits.

This class is intended to be overwritten by an (anonymous) class with exactly one static instance. The constructor will register this factory instance for use with the WindowSystem frontend. See glx/windowSystem.cpp for an example.

The implementation provides access to operating system dependent functionality needed by Equalizer, and hides these specifics behind interfaces.

Definition at line 40 of file windowSystem.h.

Constructor & Destructor Documentation

EQ_API eq::WindowSystemIF::WindowSystemIF ( )
protected

Create a new window system instance.

Version
1.6
virtual eq::WindowSystemIF::~WindowSystemIF ( )
inlineprotectedvirtual

Destroy the window system instance.

Version
1.6

Definition at line 47 of file windowSystem.h.

Member Function Documentation

virtual void eq::WindowSystemIF::configExit ( Node )
inlineprotectedvirtual

Perform per-process de-initialization for a Config.

Version
1.6

Definition at line 87 of file windowSystem.h.

virtual void eq::WindowSystemIF::configInit ( Node )
inlineprotectedvirtual

Perform per-process initialization for a Config.

Version
1.6

Definition at line 84 of file windowSystem.h.

virtual MessagePump* eq::WindowSystemIF::createMessagePump ( ) const
protectedpure virtual
Returns
a new event message pump
Version
1.6
virtual SystemPipe* eq::WindowSystemIF::createPipe ( Pipe pipe) const
protectedpure virtual
Returns
a new system pipe.
Version
1.6
virtual SystemWindow* eq::WindowSystemIF::createWindow ( Window window,
const WindowSettings settings 
) const
protectedpure virtual
Returns
a new system window
Version
1.7.2
virtual std::string eq::WindowSystemIF::getName ( ) const
protectedpure virtual
Returns
the unique name of the window system.
Version
1.6
virtual bool eq::WindowSystemIF::setupFont ( util::ObjectManager gl,
const void *  key,
const std::string &  name,
const uint32_t  size 
) const
protectedpure virtual

Create a set of display lists for the given font.

The implementation is expected to set up one display list per ASCII character, and store the name of the first list in the given object manager using the given key.

Parameters
glthe object manager for display list allocation.
keythe key for display list allocation.
namethe name of the font, OS-specific.
sizethe font size in points.
Returns
true if the font was created, false otherwise.
Warning
experimental, might not be supported in the future.

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