SGE::RunTimeEvent Class Reference

A runtime event describe an event that occurs when the application runs. It logs the position(file, line), time of the event and a user message. More...

#include <loggingManager.h>

Inheritance diagram for SGE::RunTimeEvent:

Inheritance graph
[legend]
Collaboration diagram for SGE::RunTimeEvent:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Type {
  TpException, TpError, TpWarning, TpNotice,
  TpToDo, TpUnknown
}

Public Member Functions

 RunTimeEvent (const int _ID)
 RunTimeEvent (char *_File, int _Line, RunTimeEvent::Type _type, std::ostringstream _message)
const std::string & GetFileName () const
int GetLine () const
const std::string & GetMsg () const
const time_t & GetTime () const
Type GetType () const
std::ostringstream & operator<< (std::ostringstream &_stream)

Protected Attributes

std::string m_fileName
int m_line
std::string m_message
time_t m_time
Type m_type

Static Protected Attributes

static int m_eventLastID = -1

Detailed Description

A runtime event describe an event that occurs when the application runs. It logs the position(file, line), time of the event and a user message.


The documentation for this class was generated from the following files:
Generated on Mon Mar 19 23:15:16 2007 for SugoiTools by  doxygen 1.4.6-NO