Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Class Members

Yehia::ErrorHandler Class Reference

ErrorHandler class. More...

#include <error-handler.h>

Inheritance diagram for Yehia::ErrorHandler:

Yehia::Plugin Yehia::PluginLoader Yehia::PluginManager List of all members.

Public Member Functions

 ErrorHandler (ErrorHandler *parent=0, bool tunnel=true)
ErrorHandler * parent ()
const ErrorHandler * parent () const
void set_parent (ErrorHandler *parent)
void emit_error (const std::string &message)
void emit_log (int level, const std::string &message)

Public Attributes

SigC::Signal2< bool, int,
const std::string & > 
log

Detailed Description

ErrorHandler class.


Constructor & Destructor Documentation

Yehia::ErrorHandler::ErrorHandler (  ErrorHandler *  parent = 0,
bool  tunnel = true
) 
 

Constructor.


Member Function Documentation

void Yehia::ErrorHandler::emit_error (  const std::string &  message  )  [inline]
 

Emit an error.

void Yehia::ErrorHandler::emit_log (  int  level,
const std::string &  message
) 
 

Emit a log message.

const ErrorHandler* Yehia::ErrorHandler::parent (   )  const [inline]
 

see parent()

ErrorHandler* Yehia::ErrorHandler::parent (   )  [inline]
 

The parent object, or NULL.

void Yehia::ErrorHandler::set_parent (  ErrorHandler *  parent  )  [inline]
 

Set the parent object.


Member Data Documentation

SigC::Signal2<bool, int, const std::string&> Yehia::ErrorHandler::log
 

Emitted when a message is logged.

Returns:
boolean; if false, pass the error up to the parent object.


The documentation for this class was generated from the following file:
Generated on Mon Oct 13 14:42:03 2003 for Yehia by doxygen 1.3.4