iso::gl::GL Class Reference

#include <iso_gl.h>

Collaboration diagram for iso::gl::GL:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void version (int &pMajor, int &pMinor) throw (GLException)
 obtain OpenGL version
void clearError ()
void error () throw (GLException)
 check for open gl errors
Exceptions:
throws an exception if there has been an gl error, none otherwise

base::String errorToString (GLenum pError)
 convert error number to string

Static Public Member Functions

static GLget ()
 return singleton instance
static void destroy ()
 destroy singleton instance

Protected Member Functions

 GL ()
 singleton instance
 ~GL ()
 destructor

Static Protected Attributes

static GLsGL

Constructor & Destructor Documentation

GL::GL (  )  [protected]

singleton instance

/brief default constructor

GL::~GL (  )  [protected]

destructor


Member Function Documentation

GL & GL::get (  )  [static]

return singleton instance

Returns:
singleton instance

void GL::destroy (  )  [static]

destroy singleton instance

void GL::version ( int &  pMajor,
int &  pMinor 
) throw (GLException)

obtain OpenGL version

Parameters:
pMajor major version number
pMinor minor version number

void GL::clearError (  ) 

void GL::error (  )  throw (GLException)

check for open gl errors

Exceptions:
throws an exception if there has been an gl error, none otherwise

base::String GL::errorToString ( GLenum  pError  ) 

convert error number to string

Parameters:
pError error number


Member Data Documentation

GL * GL::sGL [static, protected]


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:01:55 2011 for iso_gl by  doxygen 1.5.1