gtkIOStream  1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
Debug.H File Reference
#include <stdio.h>
#include <errno.h>
#include <map>
#include <string>
#include <string.h>
#include <streambuf>
#include <ostream>
Include dependency graph for Debug.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Debug
 
class  Debugger
 
class  basic_nullbuf< cT, traits >
 
class  basic_onullstream< cT, traits >
 

Macros

#define NO_ERROR   0
 There is no error. More...
 
#define DEBUG_ERROR_OFFSET   -39901
 Define WSOLA_ERROR_OFFSET in your code (<0) to offset the WSOLA client errors to different locations. More...
 
#define WSOLA_ERROR_OFFSET   -40001
 Define WSOLA_ERROR_OFFSET in your code (<0) to offset the WSOLA client errors to different locations. More...
 
#define SOX_ERROR_OFFSET   -40020
 Sox errors from -0 onwards to more negative numbers (relevant if the Sox is being used) More...
 
#define JACK_ERROR_OFFSET   -40040
 Define JACK_ERROR_OFFSET in your code (<0) to offset the Jack client errors. More...
 
#define DECOMPOSITION_ERROR_OFFSET   -40080
 Define DECOMPOSITION_ERROR_OFFSET in your code (<0) to offset the Decomposition errors. More...
 
#define AUDIOMASKER_ERROR_OFFSET   -40090
 Define AUDIOMASKER_ERROR_OFFSET in your code (<0) to offset the AudioMasker errors. More...
 
#define OVERLAPADD_ERROR_OFFSET   -40110
 Define OVERLAPADD_ERROR_OFFSET in your code (<0) to offset the OverlapAdd errors. More...
 
#define IIO_ERROR_OFFSET   -40150
 Define IIO_ERROR_OFFSET in your code (<0) to offset the IIO errors. More...
 
#define DIRSCAN_ERROR_OFFSET   -40200
 Define DIRSCAN_ERROR_OFFSET in your code (<0) to offset the DirectoryScanner errors. More...
 
#define THREAD_ERROR_OFFSET   -40300
 Define THREAD_ERROR_OFFSET in your code (<0) to offset the DirectoryScanner errors. More...
 
#define DRAGNDROP_ERROR_OFFSET   -40400
 Define DRAGNDROP_ERROR_OFFSET in your code (<0) to offset the DragNDrop errors. More...
 
#define ALSA_ERROR_OFFSET   -40500
 Define JACK_ERROR_OFFSET in your code (<0) to offset the Jack client errors. More...
 
#define IIR_ERROR_OFFSET   -40600
 Define JACK_ERROR_OFFSET in your code (<0) to offset the Jack client errors. More...
 
#define FIR_ERROR_OFFSET   -40650
 Define JACK_ERROR_OFFSET in your code (<0) to offset the Jack client errors. More...
 
#define MAX_ERROR_OFFSET   DEBUG_ERROR_OFFSET
 The lowest debug error magnitude from gtkiostream. More...
 
#define MIN_ERROR_OFFSET   (FIR_ERROR_OFFSET-1000)
 The highest debug error magnitude from gtkiostream. More...
 
#define MALLOC_ERROR   DEBUG_ERROR_OFFSET-0
 Error when trying to allocate memory. More...
 

Typedefs

typedef unsigned int uint
 
typedef basic_onullstream< char > NullStream
 

Variables

static NullStream nullstream
 

Macro Definition Documentation

◆ ALSA_ERROR_OFFSET

#define ALSA_ERROR_OFFSET   -40500

Define JACK_ERROR_OFFSET in your code (<0) to offset the Jack client errors.

Definition at line 82 of file Debug.H.

◆ AUDIOMASKER_ERROR_OFFSET

#define AUDIOMASKER_ERROR_OFFSET   -40090

Define AUDIOMASKER_ERROR_OFFSET in your code (<0) to offset the AudioMasker errors.

Definition at line 58 of file Debug.H.

◆ DEBUG_ERROR_OFFSET

#define DEBUG_ERROR_OFFSET   -39901

Define WSOLA_ERROR_OFFSET in your code (<0) to offset the WSOLA client errors to different locations.

Definition at line 37 of file Debug.H.

◆ DECOMPOSITION_ERROR_OFFSET

#define DECOMPOSITION_ERROR_OFFSET   -40080

Define DECOMPOSITION_ERROR_OFFSET in your code (<0) to offset the Decomposition errors.

Definition at line 54 of file Debug.H.

◆ DIRSCAN_ERROR_OFFSET

#define DIRSCAN_ERROR_OFFSET   -40200

Define DIRSCAN_ERROR_OFFSET in your code (<0) to offset the DirectoryScanner errors.

Definition at line 70 of file Debug.H.

◆ DRAGNDROP_ERROR_OFFSET

#define DRAGNDROP_ERROR_OFFSET   -40400

Define DRAGNDROP_ERROR_OFFSET in your code (<0) to offset the DragNDrop errors.

Definition at line 78 of file Debug.H.

◆ FIR_ERROR_OFFSET

#define FIR_ERROR_OFFSET   -40650

Define JACK_ERROR_OFFSET in your code (<0) to offset the Jack client errors.

Definition at line 90 of file Debug.H.

◆ IIO_ERROR_OFFSET

#define IIO_ERROR_OFFSET   -40150

Define IIO_ERROR_OFFSET in your code (<0) to offset the IIO errors.

Definition at line 66 of file Debug.H.

◆ IIR_ERROR_OFFSET

#define IIR_ERROR_OFFSET   -40600

Define JACK_ERROR_OFFSET in your code (<0) to offset the Jack client errors.

Definition at line 86 of file Debug.H.

◆ JACK_ERROR_OFFSET

#define JACK_ERROR_OFFSET   -40040

Define JACK_ERROR_OFFSET in your code (<0) to offset the Jack client errors.

Definition at line 50 of file Debug.H.

◆ MALLOC_ERROR

#define MALLOC_ERROR   DEBUG_ERROR_OFFSET-0

Error when trying to allocate memory.

Definition at line 113 of file Debug.H.

◆ MAX_ERROR_OFFSET

#define MAX_ERROR_OFFSET   DEBUG_ERROR_OFFSET

The lowest debug error magnitude from gtkiostream.

Definition at line 97 of file Debug.H.

◆ MIN_ERROR_OFFSET

#define MIN_ERROR_OFFSET   (FIR_ERROR_OFFSET-1000)

The highest debug error magnitude from gtkiostream.

Definition at line 98 of file Debug.H.

◆ NO_ERROR

#define NO_ERROR   0

There is no error.

Examples:
IIOMMapTest.C, IIOQueueTest.C, IIOTest.C, and ThreadTest.C.

Definition at line 33 of file Debug.H.

◆ OVERLAPADD_ERROR_OFFSET

#define OVERLAPADD_ERROR_OFFSET   -40110

Define OVERLAPADD_ERROR_OFFSET in your code (<0) to offset the OverlapAdd errors.

Definition at line 62 of file Debug.H.

◆ SOX_ERROR_OFFSET

#define SOX_ERROR_OFFSET   -40020

Sox errors from -0 onwards to more negative numbers (relevant if the Sox is being used)

Definition at line 46 of file Debug.H.

◆ THREAD_ERROR_OFFSET

#define THREAD_ERROR_OFFSET   -40300

Define THREAD_ERROR_OFFSET in your code (<0) to offset the DirectoryScanner errors.

Definition at line 74 of file Debug.H.

◆ WSOLA_ERROR_OFFSET

#define WSOLA_ERROR_OFFSET   -40001

Define WSOLA_ERROR_OFFSET in your code (<0) to offset the WSOLA client errors to different locations.

Definition at line 42 of file Debug.H.

Typedef Documentation

◆ NullStream

Definition at line 204 of file Debug.H.

◆ uint

typedef unsigned int uint

Definition at line 25 of file Debug.H.

Variable Documentation

◆ nullstream

NullStream nullstream
static

Definition at line 205 of file Debug.H.

gtkIOStream: /tmp/gtkiostream/include/Debug.H File Reference
GTK+ IOStream  Beta