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")
49 typedef SoError inherited;
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
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:48
Severity
Definition SoDebugError.h:52
@ INFO
Definition SoDebugError.h:52
@ WARNING
Definition SoDebugError.h:52
@ ERROR
Definition SoDebugError.h:52
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