Equalizer  1.6.1
Public Member Functions | List of all members
eq::wgl::WindowIF Class Referenceabstract

The interface defining the minimum functionality for a WGL window. More...

#include <window.h>

+ Inheritance diagram for eq::wgl::WindowIF:
+ Collaboration diagram for eq::wgl::WindowIF:

Public Member Functions

 WindowIF (eq::Window *parent)
 Construct a new WGL window for the given eq::Window. More...
 
virtual ~WindowIF ()
 Destruct the WGL window. More...
 
virtual HGLRC getWGLContext () const =0
 
virtual HWND getWGLWindowHandle () const =0
 
virtual HPBUFFERARB getWGLPBufferHandle () const =0
 
virtual HDC getWGLDC () const =0
 
virtual HDC getWGLAffinityDC ()
 
virtual bool processEvent (const WindowEvent &event)=0
 Process the given event. More...
 
- Public Member Functions inherited from eq::GLWindow
 GLWindow (Window *parent)
 Construct a new OpenGL window. More...
 
virtual ~GLWindow ()
 Destruct a new OpenGL window. More...
 
virtual void makeCurrent (const bool cache=true) const
 Bind the FBO and update the current cache. More...
 
bool isCurrent () const
 
virtual void initGLEW ()
 Initialize the GLEW context for this window. More...
 
virtual void exitGLEW ()
 De-initialize the GLEW context. More...
 
virtual const GLEWContext * glewGetContext () const
 Get the GLEW context for this window. More...
 
virtual void queryDrawableConfig (DrawableConfig &)
 Set up the drawable config by querying the current context. More...
 
virtual void bindFrameBuffer () const
 Bind the window's FBO, if it uses an FBO drawable. More...
 
virtual void flush ()
 Flush all command buffers. More...
 
virtual void finish ()
 Finish execution of all commands. More...
 
virtual bool configInitFBO ()
 Build and initialize the FBO. More...
 
virtual void configExitFBO ()
 Destroy the FBO. More...
 
virtual const
util::FrameBufferObject
getFrameBufferObject () const
 
- Public Member Functions inherited from eq::SystemWindow
 SystemWindow (Window *parent)
 Create a new SystemWindow for the given eq::Window. More...
 
virtual ~SystemWindow ()
 Destroy the SystemWindow. More...
 
void setError (const int32_t error)
 Set an error code why the last operation failed. More...
 
eq::fabric::Error getError () const
 
virtual bool processEvent (const Event &event)
 Process an event. More...
 
virtual bool configInit ()=0
 Initialize this system window. More...
 
virtual void configExit ()=0
 De-initialize this system window. More...
 
virtual void swapBuffers ()=0
 Swap the front and back buffer. More...
 
virtual void joinNVSwapBarrier (const uint32_t group, const uint32_t barrier)=0
 Join a NV_swap_group. More...
 
bool configInitFBO ()
 Build and initialize the FBO. More...
 
void configExitFBO ()
 Destroy FBO. More...
 
WindowgetWindow ()
 
const WindowgetWindow () const
 
PipegetPipe ()
 
const PipegetPipe () const
 
NodegetNode ()
 
const NodegetNode () const
 
ConfiggetConfig ()
 
const ConfiggetConfig () const
 
int32_t getIAttribute (const Window::IAttribute attr) const
 

Detailed Description

The interface defining the minimum functionality for a WGL window.

Definition at line 31 of file include/eq/client/wgl/window.h.

Constructor & Destructor Documentation

eq::wgl::WindowIF::WindowIF ( eq::Window parent)
inline

Construct a new WGL window for the given eq::Window.

Version
1.0

Definition at line 35 of file include/eq/client/wgl/window.h.

virtual eq::wgl::WindowIF::~WindowIF ( )
inlinevirtual

Destruct the WGL window.

Version
1.0

Definition at line 38 of file include/eq/client/wgl/window.h.

Member Function Documentation

virtual HDC eq::wgl::WindowIF::getWGLAffinityDC ( )
inlinevirtual
Returns
the Win32 affinity device context, if used.
Version
1.0

Reimplemented in eq::wgl::Window.

Definition at line 56 of file include/eq/client/wgl/window.h.

virtual HGLRC eq::wgl::WindowIF::getWGLContext ( ) const
pure virtual
Returns
the WGL rendering context.
Version
1.0

Implemented in eq::wgl::Window.

virtual HDC eq::wgl::WindowIF::getWGLDC ( ) const
pure virtual
Returns
the Win32 device context used for the current drawable.
Version
1.0

Implemented in eq::wgl::Window.

virtual HPBUFFERARB eq::wgl::WindowIF::getWGLPBufferHandle ( ) const
pure virtual
Returns
the Win32 off screen PBuffer handle.
Version
1.0

Implemented in eq::wgl::Window.

virtual HWND eq::wgl::WindowIF::getWGLWindowHandle ( ) const
pure virtual
Returns
the Win32 window handle.
Version
1.0

Implemented in eq::wgl::Window.

virtual bool eq::wgl::WindowIF::processEvent ( const WindowEvent event)
pure virtual

Process the given event.

Version
1.0

Implemented in eq::wgl::Window.


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