daeErrorHandler Class Reference
#include <daeErrorHandler.h>
Inheritance diagram for daeErrorHandler:


Detailed Description
ThedaeErrorHandler
class is a plugin that allows the use to overwrite how error and warning messages get handled in the client application.
An example of this would be a class that reports the message to a gui front end instead of just printing on stdout.
Public Member Functions | |
daeErrorHandler () | |
Constructor. | |
virtual | ~daeErrorHandler () |
Destructor. | |
virtual void | handleError (daeString msg)=0 |
This function is called when there is an error and a string needs to be sent to the user. | |
virtual void | handleWarning (daeString msg)=0 |
This function is called when there is a warning and a string needs to be sent to the user. | |
Static Public Member Functions | |
static void | setErrorHandler (daeErrorHandler *eh) |
Sets the daeErrorHandler to the one specified. | |
static daeErrorHandler * | get () |
Returns the current daeErrorHandlerPlugin. |
Member Function Documentation
|
Returns the current daeErrorHandlerPlugin. DaeErrorHandler implements a singleton design pattern so you can get the current daeErrorHandler statically.
|
|
This function is called when there is an error and a string needs to be sent to the user. You must overwrite this function in your plugin.
Implemented in stdErrPlugin. |
|
This function is called when there is a warning and a string needs to be sent to the user. You must overwrite this function in your plugin.
Implemented in stdErrPlugin. |
|
Sets the daeErrorHandler to the one specified.
|
The documentation for this class was generated from the following files:
- C:/SVN_wf/COLLADA_DOM/include/dae/daeErrorHandler.h
- C:/SVN_wf/COLLADA_DOM/src/dae/daeErrorHandler.cpp
©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:47:00 2006 for COLLADA 1.4 DOM by
