1#ifndef COIN_SODEBUGERROR_H
2#define COIN_SODEBUGERROR_H
36#include <Inventor/errors/SoError.h>
37#include <Inventor/C/errors/debugerror.h>
42#define SODEBUGERROR_STORE_ERROR_DEF ERROR
63 static void post(
const char *
const source,
const char *
const format, ...);
64 static void postWarning(
const char *
const source,
const char *
const format, ...);
65 static void postInfo(
const char *
const source,
const char *
const format, ...);
70 virtual SoErrorCBPtr
getHandler(
void * & data)
const;
73 static void callbackForwarder(
const struct cc_debugerror * error,
void * data);
74 static void commonPostHandling(Severity severity,
const char * type,
75 const char * source,
const SbString & s);
78 static SoErrorCB * callback;
79 static void * callbackData;
84#if defined(SODEBUGERROR_STORE_ERROR_DEF)
85#define ERROR SODEBUGERROR_STORE_ERROR_DEF
86#undef SODEBUGERROR_STORE_ERROR_DEF
The SbString class is a string class with convenience functions for string operations.
Definition SbString.h:52
The SoDebugError class is the internal debugging message passing mechanism.
Definition SoDebugError.h:47
Severity
Definition SoDebugError.h:51
@ ERROR
Definition SoDebugError.h:51
The SoError class is the base class for all the error handling classes.
Definition SoError.h:50
static void initClass(void)
Definition SoError.cpp:115
static SoErrorCB * getHandlerCallback(void)
Definition SoError.cpp:203
static void setHandlerCallback(SoErrorCB *const func, void *const data)
Definition SoError.cpp:181
virtual SoErrorCBPtr getHandler(void *&data) const
Definition SoError.cpp:297
virtual SoType getTypeId(void) const
Definition SoError.cpp:154
static void post(const char *const format,...)
Definition SoError.cpp:236
static void * getHandlerData(void)
Definition SoError.cpp:213
static SoType getClassTypeId(void)
Definition SoError.cpp:141
The SoType class is the basis for the runtime type system in Coin.
Definition SoType.h:59
Definition debugerror.h:53