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 89 #endif // !COIN_SODEBUGERROR_H static void setHandlerCallback(SoErrorCB *const func, void *const data)
Definition: SoError.cpp:176
static void * getHandlerData(void)
Definition: SoError.cpp:208
Definition: debugerror.h:53
virtual SoType getTypeId(void) const
Definition: SoError.cpp:149
static void post(const char *const format,...)
Definition: SoError.cpp:231
static SoType getClassTypeId(void)
Definition: SoError.cpp:136
Severity
Definition: SoDebugError.h:51
The SoDebugError class is the internal debugging message passing mechanism.
Definition: SoDebugError.h:47
static SoErrorCB * getHandlerCallback(void)
Definition: SoError.cpp:198
The SoError class is the base class for all the error handling classes.
Definition: SoError.h:50
virtual SoErrorCBPtr getHandler(void *&data) const
Definition: SoError.cpp:292
static void initClass(void)
Definition: SoError.cpp:110
The SbString class is a string class with convenience functions for string operations.
Definition: SbString.h:52
The SoType class is the basis for the run-time type system in Coin.
Definition: SoType.h:59