Open Inventor Reference
SoTrace.h File Reference

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...
 

Macros

#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< SoGlobalTraceBufferTypeSoGlobalTraceBuffer
 This is a global singleton of the SoTraceBuffer class.
 

Macro Definition Documentation

◆ SO_TRACE_IN

#define SO_TRACE_IN (   __classAndMethod___)

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.

Definition at line 29 of file SoTrace.h.

Typedef Documentation

◆ SoGlobalTraceBufferType

Definition at line 34 of file SoTrace.h.

Variable Documentation

◆ SoGlobalTraceBuffer

INVENTOR_API SoTraceBuffer<SoGlobalTraceBufferType> SoGlobalTraceBuffer
extern

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().