other versions
- wheezy-backports 3.1.4~abc9f50-3~bpo70+1
- jessie 3.1.4~abc9f50-7
SoDebugError(3) | Coin | SoDebugError(3) |
NAME¶
SoDebugError - The SoDebugError class is the internal debugging message passing mechanism. This class basically serves two purposes:SYNOPSIS¶
#include <Inventor/errors/SoDebugError.h> Inherits SoError.Public Types¶
enum Severity { ERROR, WARNING, INFO }
Public Member Functions¶
virtual SoType getTypeId (void) const
Static Public Member Functions¶
static void setHandlerCallback (SoErrorCB *const function, void *const data)
Protected Member Functions¶
virtual SoErrorCBPtr getHandler (void *&data) const
Additional Inherited Members¶
Detailed Description¶
The SoDebugError class is the internal debugging message passing mechanism. This class basically serves two purposes:Member Enumeration Documentation¶
enum SoDebugError::Severity¶
Specifies the available severity levels of the debug messages.Member Function Documentation¶
void SoDebugError::setHandlerCallback (SoErrorCB *constfunction, void *constdata) [static]¶
This method sets the error handler callback for messages posted via this class. Note that this will not override the error/debug message handler for subclasses, these will have to be overrided by calling the subclass' setHandlerCallback() method. See Also:defaultHandlerCB()
SoErrorCB * SoDebugError::getHandlerCallback (void) [static]¶
Returns the error handler callback for messages posted via this class. Reimplemented from SoError.void * SoDebugError::getHandlerData (void) [static]¶
This method returns the pointer used for passing data back to the callback handler method. Reimplemented from SoError.SoType SoDebugError::getClassTypeId (void) [static]¶
This static method returns the SoType for this class. See Also:getTypeId()
SoType SoDebugError::getTypeId (void) const [virtual]¶
This method returns the SoType of a particular object instance. See Also:getClassTypeId()
SoDebugError::Severity SoDebugError::getSeverity (void) const¶
Returns severity level of current message. You can use this to filter out debug messages and only let warnings and/or errors pass through to the end-user if you have set your own handler callback. See Also:setHandlerCallback()
void SoDebugError::post (const char *constsource, const char *constformat, ...) [static]¶
This method posts a message with severity level 'ERROR'. source should be the name of the calling function.void SoDebugError::postWarning (const char *constsource, const char *constformat, ...) [static]¶
This method posts a message with severity level 'WARNING'. source should be the name of the calling function.void SoDebugError::postInfo (const char *constsource, const char *constformat, ...) [static]¶
This method posts a message with severity level 'INFO'. source should be the name of the calling function.void SoDebugError::initClass (void) [static]¶
This method takes care of initializing all static data for the class. Reimplemented from SoError.SoErrorCB * SoDebugError::getHandler (void *&data) const [protected], [virtual]¶
This is just a convenience wrapper around the getHandlerCallback() and getHandlerData() methods. Reimplemented from SoError.Author¶
Generated automatically by Doxygen for Coin from the source code.Sat Oct 12 2013 | Version 4.0.0a |