27#include <Inventor/SbBasic.h>
28#include <Inventor/SbString.h>
29#include <Inventor/C/errors/error.h>
30#include <Inventor/SoType.h>
37typedef void SoErrorCB(
const class SoError * error,
void * data);
38typedef SoErrorCB * SoErrorCBPtr;
43 SoError(
void) { cc_error_init(&this->err); }
44 virtual ~SoError() { cc_error_clean(&this->err); }
46 static void setHandlerCallback(SoErrorCB *
const func,
void *
const data);
47 static SoErrorCB * getHandlerCallback(
void);
48 static void * getHandlerData(
void);
50 const SbString & getDebugString(
void)
const;
52 static SoType getClassTypeId(
void);
53 virtual SoType getTypeId(
void)
const;
54 SbBool isOfType(
const SoType type)
const;
56 static void post(
const char *
const format, ...);
62 static void initClass(
void);
63 static void initClasses(
void);
66 static void defaultHandlerCB(
const SoError * error,
void * userdata);
67 virtual SoErrorCBPtr getHandler(
void * & data)
const;
69 void setDebugString(
const char *
const str);
70 void appendToDebugString(
const char *
const str);
72 void handleError(
void);
75 SoError(
const cc_error * error);
76 static void generateBaseString(
SbString & str,
const SoBase *
const base,
77 const char *
const what);
79 static void callbackForwarder(
const cc_error * err,
void * data);
82 static SoErrorCB * callback;
83 static void * callbackData;
The SbString class is a string class with convenience functions for string operations.
Definition SbString.h:42
The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition SoBase.h:36
SoEngine is the base class for Coin engines.
Definition SoEngine.h:34
The SoError class is the base class for all the error handling classes.
Definition SoError.h:41
virtual ~SoError()
Definition SoError.h:44
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47
The SoPath class is a container class for traversal path descriptions.
Definition SoPath.h:43
The SoType class is the basis for the run-time type system in Coin.
Definition SoType.h:50
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.