27#include <Inventor/SbBasic.h>
28#include <Inventor/errors/SoError.h>
76 SoPRINTFPREFIX(3, 4) static
void post(const
int openGLErrorCode , const
char* glFuncName, const
char *formatString ...);
80 static
void initClass();
81 static
void exitClass();
82 static
SoErrorCB* getDefaultHandlerCB() {
return defaultHandlerCB; }
86 virtual SoErrorCB* getHandler(
void *&data)
const;
87 virtual bool isInit()
const;
Error handling base class.
void SoErrorCB(const SoError *error, void *data)
Error handling callbacks are of this type.
OpenGL rendering error handling.
virtual SoType getTypeId() const
Returns type identifier for an instance of this class.
static SoErrorCB * getHandlerCallback()
Returns handler callback for SoGLError class.
static void * getHandlerData()
Returns handler data for SoGLError class.
static SoType getClassTypeId()
Returns type identifier for the SoGLError class.
static void post(const int openGLErrorCode, const char *glFuncName, const char *formatString ...)
Posts an error.
static void setHandlerCallback(SoErrorCB *cb, void *data)
Sets handler callback for SoGLError class.
Stores runtime type information.