GLC_lib  2.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Protected Attributes | List of all members
GLC_OpenGlException Class Reference

GLC_OpenGlException : Class for all OpenGL error. More...

#include <glc_openglexception.h>

+ Inheritance diagram for GLC_OpenGlException:

Public Member Functions

Constructor / Destructor
 GLC_OpenGlException (const QString &message, GLenum glError)
 Default constructor.
 
virtual ~GLC_OpenGlException () throw ()
 Destructor.
 
Get Functions
virtual const char * what () const throw ()
 Return exception description.
 
- Public Member Functions inherited from GLC_Exception
 GLC_Exception (const QString &message)
 Default constructor.
 
virtual ~GLC_Exception () throw ()
 Destructor.
 

Protected Attributes

QString m_GlErrorDescription
 Opengl Error description.
 
- Protected Attributes inherited from GLC_Exception
QString m_ErrorDescription
 Error description.
 

Detailed Description

GLC_OpenGlException : Class for all OpenGL error.

Definition at line 41 of file glc_openglexception.h.

Constructor & Destructor Documentation

GLC_OpenGlException::GLC_OpenGlException ( const QString &  message,
GLenum  glError 
)

Default constructor.

Definition at line 31 of file glc_openglexception.cpp.

References m_GlErrorDescription.

GLC_OpenGlException::~GLC_OpenGlException ( ) throw ()
virtual

Destructor.

Definition at line 61 of file glc_openglexception.cpp.

Member Function Documentation

const char * GLC_OpenGlException::what ( ) const throw ()
virtual

Return exception description.

Reimplemented from GLC_Exception.

Definition at line 72 of file glc_openglexception.cpp.

References GLC_Exception::m_ErrorDescription, and m_GlErrorDescription.

Member Data Documentation

QString GLC_OpenGlException::m_GlErrorDescription
protected

Opengl Error description.

Definition at line 70 of file glc_openglexception.h.

Referenced by GLC_OpenGlException(), and what().


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

©2005-2013 Laurent Ribon