Error Class Reference

#include <Error.h>

Inherits Object, and Singleton< T >< Error >.

Inheritance diagram for Error:

Inheritance graph
[legend]
Collaboration diagram for Error:

Collaboration graph
[legend]
List of all members.

Public Member Functions

int verror (const String &fileName, const unsigned int lineNum, const String &functionName, const char *format, va_list ap)
int error (const String &fileName, const unsigned int lineNum, const String &functionName, const char *format,...) __attribute__((format(printf
int int errorFatal (const String &fileName, const unsigned int lineNum, const String &functionName, const char *format,...) __attribute__((format(printf
int int int warning (const String &fileName, const unsigned int lineNum, const String &functionName, const char *format,...) __attribute__((format(printf
int int int int info (const String &fileName, const unsigned int lineNum, const String &functionName, const char *format,...) __attribute__((format(printf
 SIGNAL (debug, const String &, const String &, const unsigned int, const String &, const String &)
 SIGNAL (error, const String &, const String &, const unsigned int, const String &, const String &)
 SIGNAL (errorFatal, const String &, const String &, const unsigned int, const String &, const String &)
 SIGNAL (warning, const String &, const String &, const unsigned int, const String &, const String &)
 SIGNAL (info, const String &, const String &, const unsigned int, const String &, const String &)

Static Public Member Functions

int int int int static void printBackTrace ()

Private Member Functions

 Error ()
virtual ~Error ()

Friends

class Singleton< Error >

Detailed Description

Definition at line 82 of file Error.h.


Constructor & Destructor Documentation

Error::Error (  )  [private]

Definition at line 149 of file Error.cpp.

Error::~Error (  )  [private, virtual]

Definition at line 153 of file Error.cpp.


Member Function Documentation

int Error::verror ( const String fileName,
const unsigned int  lineNum,
const String functionName,
const char *  format,
va_list  ap 
)

Definition at line 42 of file Error.cpp.

References COLOR_ERROR(), CSTRING(), EMIT, error(), FAILURE, LIMIT_CSTRING_SIZE, and String::timestamp().

Referenced by error().

int Error::error ( const String fileName,
const unsigned int  lineNum,
const String functionName,
const char *  format,
  ... 
)

Definition at line 59 of file Error.cpp.

References FAILURE, and verror().

Referenced by errorFatal(), and verror().

int Error::errorFatal ( const String fileName,
const unsigned int  lineNum,
const String functionName,
const char *  format,
  ... 
)

Definition at line 69 of file Error.cpp.

References COLOR_ERROR_FATAL(), CSTRING(), EMIT, error(), FAILURE, GET_MESSAGE, printBackTrace(), and String::timestamp().

int Error::warning ( const String fileName,
const unsigned int  lineNum,
const String functionName,
const char *  format,
  ... 
)

Definition at line 103 of file Error.cpp.

References COLOR_WARNING(), CSTRING(), EMIT, GET_MESSAGE, OK, and String::timestamp().

int Error::info ( const String fileName,
const unsigned int  lineNum,
const String functionName,
const char *  format,
  ... 
)

Definition at line 119 of file Error.cpp.

References COLOR_INFO(), CSTRING(), EMIT, GET_MESSAGE, OK, and String::timestamp().

void Error::printBackTrace (  )  [static]

Definition at line 135 of file Error.cpp.

References COLOR_BACKTRACE(), CSTRING(), and LIMIT_BACKTRACE_DEPTH.

Referenced by errorFatal().

Error::SIGNAL ( debug  ,
const String ,
const String ,
const unsigned  int,
const String ,
const String  
)

Error::SIGNAL ( error  ,
const String ,
const String ,
const unsigned  int,
const String ,
const String  
)

Error::SIGNAL ( errorFatal  ,
const String ,
const String ,
const unsigned  int,
const String ,
const String  
)

Error::SIGNAL ( warning  ,
const String ,
const String ,
const unsigned  int,
const String ,
const String  
)

Error::SIGNAL ( info  ,
const String ,
const String ,
const unsigned  int,
const String ,
const String  
)


Friends And Related Function Documentation

friend class Singleton< Error > [friend]

Definition at line 86 of file Error.h.


The documentation for this class was generated from the following files:
Generated on Thu Sep 6 20:13:35 2007 for Pylon Application Platform by  doxygen 1.5.1