36 #include <Inventor/SbBasic.h> 37 #include <Inventor/SbString.h> 46 typedef void SoErrorCB(
const class SoError * error,
void * data);
47 typedef SoErrorCB * SoErrorCBPtr;
52 SoError(
void) { cc_error_init(&this->err); }
53 virtual ~SoError() { cc_error_clean(&this->err); }
55 static void setHandlerCallback(SoErrorCB *
const func,
void *
const data);
56 static SoErrorCB * getHandlerCallback(
void);
57 static void * getHandlerData(
void);
59 const SbString & getDebugString(
void)
const;
61 static SoType getClassTypeId(
void);
62 virtual SoType getTypeId(
void)
const;
63 SbBool isOfType(
const SoType type)
const;
65 static void post(
const char *
const format, ...);
71 static void initClass(
void);
72 static void initClasses(
void);
75 static void defaultHandlerCB(
const SoError * error,
void * userdata);
76 virtual SoErrorCBPtr getHandler(
void * & data)
const;
78 void setDebugString(
const char *
const str);
79 void appendToDebugString(
const char *
const str);
81 void handleError(
void);
84 SoError(
const cc_error * error);
85 static void generateBaseString(
SbString & str,
const SoBase *
const base,
86 const char *
const what);
88 static void callbackForwarder(
const cc_error * err,
void * data);
91 static SoErrorCB * callback;
92 static void * callbackData;
98 #endif // !COIN_SOERROR_H The SoBase class is the top-level superclass for a number of class-hierarchies.SoBase provides the ba...
Definition: SoBase.h:45
SoEngine is the base class for Coin engines.Engines enables the application programmers to make compl...
Definition: SoEngine.h:43
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:56
The SoPath class is a container class for traversal path descriptions.SoPath objects contain a list o...
Definition: SoPath.h:52
virtual ~SoError()
Definition: SoError.h:53
The SoError class is the base class for all the error handling classes.The default error handler just...
Definition: SoError.h:50
The SbString class is a string class with convenience functions for string operations.This is the class used for storing and working with character strings. It automatically takes care of supporting all the "bookkeeping" tasks usually associated with working with character strings, like memory allocation and deallocation etc.
Definition: SbString.h:52
The SoType class is the basis for the run-time type system in Coin.Many of the classes in the Coin li...
Definition: SoType.h:59