Open Inventor Reference
|
#include <Inventor/system/SbSystem.h>
#include <Inventor/SbString.h>
#include <Inventor/SbTypeDefs.h>
Go to the source code of this file.
Classes | |
class | SoTraceBuffer< INDEXTYPE > |
This class manages a list and a stack of pointers to permanent strings. More... | |
class | SoTrace< INDEXTYPE > |
This class simply implements a constructor and a destructor. More... | |
Defines | |
#define | SO_TRACE_IN(__classAndMethod___) |
This macro can/should be inserted at first position in user implemented class methods and functions. | |
Typedefs | |
typedef uint16_t | SoGlobalTraceBufferType |
The type used in the SoGlobalTraceBuffer. | |
Variables | |
INVENTOR_API SoTraceBuffer < SoGlobalTraceBufferType > | SoGlobalTraceBuffer |
This is a global singleton of the SoTraceBuffer class. |
#define SO_TRACE_IN | ( | __classAndMethod___ | ) |
static const char *const __SO_TRACE_IN_STRING_BUF = __FILE__ ":" __classAndMethod___; \ SoTrace<uint16_t> __SoTraceObject(__SO_TRACE_IN_STRING_BUF, SoGlobalTraceBuffer);
It stores pointers to a string in buffers for the most recently called function and on a call stack. In error cases these buffers can be read to analyse the crash/error position.
typedef uint16_t SoGlobalTraceBufferType |
INVENTOR_API SoTraceBuffer<SoGlobalTraceBufferType> SoGlobalTraceBuffer |
It is used by all SO_TRACE_IN macros to trace function calls in inventor code. In the case of catched error exceptions the most recently called functions and function stack can be dumped.
Referenced by SoTraceBuffer< INDEXTYPE >::getTraceDumpString().