ML Reference
MeVis/Foundation/Sources/MLUtilities/mlTrace.h File Reference

Class to manage a buffer for a stack and a list of string pointers for tracing debug and release code. More...

#include "mlUtilsSystem.h"

Go to the source code of this file.

Classes

class  ml::TraceBuffer< INDEXTYPE >
 This class manages a list and a stack of pointers to permanent strings. More...
class  ml::Trace< INDEXTYPE >
 This class simply implements a constructor and a destructor. More...

Namespaces

namespace  ml
 

Define the namespace name like in the ML. Default is ml.


Typedefs

typedef MLuint16 ml::MLGlobalTraceBufferType
 The type used in the MLGlobalTraceBuffer.

Variables

ML_UTILS_EXPORT TraceBuffer
< MLGlobalTraceBufferType > 
ml::MLGlobalTraceBuffer
 This is a global singleton of the TraceBuffer class.

Detailed Description

Class to manage a buffer for a stack and a list of string pointers for tracing debug and release code.

Another class Trace to be used in tracing macros is also implemented here. Note:

  • Both classes are implemented in one file to avoid tricky circular header dependencies which cannot be solved by moving code into .cpp files for performance reasons.
Author:
Wolf Spindler
Date:
08/2004

Definition in file mlTrace.h.