GPU-Accelerated Coverage  0.1.0
Compute coverage tours for known environment with articulated objects on GPU
Public Member Functions | Protected Attributes | List of all members
gpu_coverage::GLException Class Reference

Custom OpenGL exception. More...

#include <Utilities.h>

Inheritance diagram for gpu_coverage::GLException:
Inheritance graph
[legend]

Public Member Functions

 GLException (const GLenum code, const char *const file, const int line)
 Constructor. More...
 
virtual ~GLException () throw ()
 Destructor.
 
const char * what () const throw ()
 Returns the human-readable description of the error. More...
 

Protected Attributes

const GLenum code
 OpenGL error code.
 
std::string text
 Description string.
 

Detailed Description

Custom OpenGL exception.

Constructor & Destructor Documentation

gpu_coverage::GLException::GLException ( const GLenum  code,
const char *const  file,
const int  line 
)

Constructor.

Parameters
codeOpenGL error code.
fileFile name.
lineLine where the exception was thrown.

Member Function Documentation

const char* gpu_coverage::GLException::what ( ) const
throw (
)

Returns the human-readable description of the error.

Returns
Error description.

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