Gazebo logo

Error.cc File Reference

#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <limits.h>
#include "Error.hh"

Functions

void ErrorInit (int msgLevel, const char *logFile)
 Initialize error logging.
void ErrorFini ()
 Finalize error logging.
int ErrorPrint (int msgType, int level, const char *file, int line, const char *fmt,...)
 Function for print and logging errors.
int ErrorPrintGL (const char *file, int line)
 Print GL error messages.

Function Documentation

void ErrorInit int  msgLevel,
const char *  logFile
 

Initialize error logging.

void ErrorFini  ) 
 

Finalize error logging.

int ErrorPrint int  msgType,
int  level,
const char *  file,
int  line,
const char *  fmt,
  ...
 

Function for print and logging errors.

Do not call this function directly; use the macros below.

For internal use only.

int ErrorPrintGL const char *  file,
int  line
 

Print GL error messages.

Do not call this function directly; use the macros below.

For internal use only.


Last updated 12 September 2005 21:38:45