Equalizer
2.1.0
Parallel Rendering Framework
|
The interface for windowing toolkits. More...
#include <windowSystem.h>
Public Member Functions | |
virtual | ~WindowSystemIF () |
Destroy the window system instance. More... | |
Protected Member Functions | |
WindowSystemIF () | |
Create a new window system instance. More... | |
virtual std::string | getName () const =0 |
virtual SystemPipe * | createPipe (Pipe *pipe)=0 |
virtual MessagePump * | createMessagePump ()=0 |
virtual SystemWindow * | createWindow (Window *window, const WindowSettings &settings)=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... | |
virtual bool | hasMainThreadEvents () const |
Static Protected Member Functions | |
static uint32_t | _setupLists (util::ObjectManager &gl, const void *key, const int num) |
Friends | |
class | WindowSystem |
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 39 of file windowSystem.h.
|
inlinevirtual |
|
inlineprotected |
Create a new window system instance.
Definition at line 46 of file windowSystem.h.
References createMessagePump(), createPipe(), createWindow(), getName(), and setupFont().
|
inlineprotectedvirtual |
Perform per-process de-initialization for a Config.
Definition at line 85 of file windowSystem.h.
|
inlineprotectedvirtual |
Perform per-process initialization for a Config.
Definition at line 83 of file windowSystem.h.
|
protectedpure virtual |
Referenced by WindowSystemIF().
|
protectedpure virtual |
Referenced by WindowSystemIF().
|
protectedpure virtual |
Referenced by WindowSystemIF().
|
protectedpure virtual |
Referenced by WindowSystemIF().
|
inlineprotectedvirtual |
Definition at line 90 of file windowSystem.h.
|
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.
gl | the object manager for display list allocation. |
key | the key for display list allocation. |
name | the name of the font, OS-specific. |
size | the font size in points. |
Referenced by WindowSystemIF().