Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound 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 (Ptr< ErrorHandler > parent=0)
Ptr< ErrorHandler > parent ()
Ptr< const ErrorHandler > parent () const
void set_parent (Ptr< ErrorHandler > parent)
void emit_error (const std::string &message)
void emit_log (int level, const std::string &message)
void emit (const Event &event)

Public Attributes

SigC::Signal1< bool, const
Event & > 
event

Detailed Description

ErrorHandler class.


Constructor & Destructor Documentation

Yehia::ErrorHandler::ErrorHandler Ptr< ErrorHandler >  parent = 0  ) 
 

Constructor.


Member Function Documentation

void Yehia::ErrorHandler::emit const Event &  event  ) 
 

general event emitter

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

Emit an error event.

void Yehia::ErrorHandler::emit_log int  level,
const std::string &  message
[inline]
 

Emit a log event.

Ptr<const ErrorHandler> Yehia::ErrorHandler::parent  )  const [inline]
 

see parent()

Ptr<ErrorHandler> Yehia::ErrorHandler::parent  )  [inline]
 

The parent object, or NULL.

void Yehia::ErrorHandler::set_parent Ptr< ErrorHandler >  parent  ) 
 

Set the parent object.


Member Data Documentation

SigC::Signal1<bool, const Event&> Yehia::ErrorHandler::event
 

Emitted when a event occurs.

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 Thu May 1 21:13:04 2003 for Yehia by doxygen1.3