Main Page | Namespace List | Class List | Directories | File List | Namespace Members | Class Members | File Members

ErrorChecker Class Reference

Class providing the handler / tester functions for errors as static members. More...

#include <error_checker.h>

List of all members.

Static Public Member Functions

static void checkErrorGL (const char *file="-", const int line=-1)
 Check for OpenGL errors (including GLSLang).
static void checkFrameBufferStatus ()
 error handler for FBOs
static void condition (bool val, const char *file, const int line)
 Check if a condition is true.
static void mayaStatus (const MStatus &status, const char *file, const int line)
 Check Mays status / return value of Maya functionality.


Detailed Description

Class providing the handler / tester functions for errors as static members.

module : Utilities

project : icaster

description: Helper for error checkin


Member Function Documentation

void ErrorChecker::checkErrorGL const char *  file = "-",
const int  line = -1
[static]
 

Check for OpenGL errors (including GLSLang).

Returns:
true if no error was pending, else false

void ErrorChecker::condition bool  val,
const char *  file,
const int  line
[inline, static]
 

Check if a condition is true.

Note:
In prinicple has the same functionality as assert but allows much better control

void ErrorChecker::mayaStatus const MStatus &  status,
const char *  file,
const int  line
[inline, static]
 

Check Mays status / return value of Maya functionality.

Parameters:
status status returned by a Maya function


The documentation for this class was generated from the following files:
Generated on Sat Dec 31 18:07:49 2005 for ICaster by  doxygen 1.4.4