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

The interface defining the minimum functionality for an AGL window. More...

#include <window.h>

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

Public Member Functions

 WindowIF (eq::Window *parent)
 Construct a new AGL window for the given eq::Window. More...
 
virtual ~WindowIF ()
 Destruct the AGL window. More...
 
virtual AGLContext getAGLContext () const =0
 
virtual WindowRef getCarbonWindow () const =0
 
virtual AGLPbuffer getAGLPBuffer () const =0
 
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 an AGL window.

Definition at line 33 of file include/eq/client/agl/window.h.

Constructor & Destructor Documentation

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

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

Version
1.0

Definition at line 37 of file include/eq/client/agl/window.h.

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

Destruct the AGL window.

Version
1.0

Definition at line 40 of file include/eq/client/agl/window.h.

Member Function Documentation

virtual AGLContext eq::agl::WindowIF::getAGLContext ( ) const
pure virtual
Returns
the AGL rendering context.
Version
1.0

Implemented in eq::agl::Window.

virtual AGLPbuffer eq::agl::WindowIF::getAGLPBuffer ( ) const
pure virtual
Returns
the AGL PBuffer object.
Version
1.0

Implemented in eq::agl::Window.

virtual WindowRef eq::agl::WindowIF::getCarbonWindow ( ) const
pure virtual
Returns
the carbon window reference.
Version
1.0

Implemented in eq::agl::Window.

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

Process the given event.

Version
1.0

Implemented in eq::agl::Window.


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