k3d::gl::context_factory Class Reference

Abstract interface implemented by objects that can create OpenGL render context objects,. More...

#include <context_factory.h>

Inheritance diagram for k3d::gl::context_factory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~context_factory ()
virtual contextcreate (uint64_t Drawable)=0

Protected Member Functions

 context_factory ()
 context_factory (const context_factory &)
context_factoryoperator= (const context_factory &)

Detailed Description

Abstract interface implemented by objects that can create OpenGL render context objects,.


Constructor & Destructor Documentation

virtual k3d::gl::context_factory::~context_factory (  )  [inline, virtual]
k3d::gl::context_factory::context_factory (  )  [inline, protected]

Reimplemented in module::glx::context_factory.

k3d::gl::context_factory::context_factory ( const context_factory  )  [inline, protected]

Member Function Documentation

virtual context* k3d::gl::context_factory::create ( uint64_t  Drawable  )  [pure virtual]

Creates a new OpenGL render context for use with the given drawable. Note that the drawable could be an X11 XID, a Windows HWND, etc. The caller is responsible for the lifetime of the returned object.

Implemented in module::glx::context_factory.

context_factory& k3d::gl::context_factory::operator= ( const context_factory  )  [inline, protected]

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

Generated on Mon Mar 21 07:42:23 2011 for K-3D by doxygen 1.6.3