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
43 #pragma push_macro("ERROR")
64 static void post(
const char *
const source,
const char *
const format, ...);
65 static void postWarning(
const char *
const source,
const char *
const format, ...);
66 static void postInfo(
const char *
const source,
const char *
const format, ...);
71 virtual SoErrorCBPtr
getHandler(
void * & data)
const;
74 static void callbackForwarder(
const struct cc_debugerror * error,
void * data);
75 static void commonPostHandling(Severity severity,
const char * type,
76 const char * source,
const SbString & s);
79 static SoErrorCB * callback;
80 static void * callbackData;
85 #if defined(SODEBUGERROR_STORE_ERROR_DEF)
86 #pragma pop_macro("ERROR")
87 #undef SODEBUGERROR_STORE_ERROR_DEF
90 #endif // !COIN_SODEBUGERROR_H
static void setHandlerCallback(SoErrorCB *const func, void *const data)
Definition: SoError.cpp:181
static void * getHandlerData(void)
Definition: SoError.cpp:213
virtual SoType getTypeId(void) const
Definition: SoError.cpp:154
Definition: debugerror.h:53
Definition: SoDebugError.h:52
virtual SoErrorCBPtr getHandler(void *&data) const
Definition: SoError.cpp:297
static void post(const char *const format,...)
Definition: SoError.cpp:236
static SoType getClassTypeId(void)
Definition: SoError.cpp:141
Severity
Definition: SoDebugError.h:52
The SoDebugError class is the internal debugging message passing mechanism.
Definition: SoDebugError.h:48
static SoErrorCB * getHandlerCallback(void)
Definition: SoError.cpp:203
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
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 runtime type system in Coin.
Definition: SoType.h:59