#include <stdErrPlugin.h>
Public Member Functions | |
void | handleError (daeString msg) |
void | handleWarning (daeString msg) |
quietErrorHandler () | |
Static Public Member Functions | |
static quietErrorHandler & | getInstance () |
Static Private Attributes | |
static quietErrorHandler | theInstance |
The quietErrorHandler
class is an alternative implementation of daeErrorHandler. It suppresses error and warning messages. The easiest way to use it is like this: daeErrorHandler::setErrorHandler(&quietErrorHandler::getInstance());
Definition at line 34 of file stdErrPlugin.h.
quietErrorHandler::quietErrorHandler | ( | ) | [inline] |
Definition at line 36 of file stdErrPlugin.h.
static quietErrorHandler& quietErrorHandler::getInstance | ( | ) | [inline, static] |
Definition at line 40 of file stdErrPlugin.h.
void quietErrorHandler::handleError | ( | daeString | msg | ) | [inline, virtual] |
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.
msg | Error message. |
Implements daeErrorHandler.
Definition at line 37 of file stdErrPlugin.h.
void quietErrorHandler::handleWarning | ( | daeString | msg | ) | [inline, virtual] |
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.
msg | Warning message. |
Implements daeErrorHandler.
Definition at line 38 of file stdErrPlugin.h.
quietErrorHandler quietErrorHandler::theInstance [static, private] |
Definition at line 43 of file stdErrPlugin.h.