![]() |
Simplygon C++ API
8.3.35800.0
|
#include <SimplygonSDK.h>
Public Member Functions | |
virtual void | HandleError (IObject *object, const char *interfacename, const char *methodname, rid errortype, const char *errortext)=0 |
The rerrorhandler class is used to receive error messages from the interface, by by creating a class that implements the HandleError method. By setting an object of the class into the main interface using the SetErrorHandler method, the HandleError method will receive all error messages from the interface. Please note that errors may not be recoverable, and could leave objects in an intermediate state. Errors should in most cases be considered fatal, and will not occur i standard use.
Definition at line 205 of file SimplygonSDK.h.
|
pure virtual |
The HandleError method will receive all error messages from the interface.
object | is the interface object that raised the error message |
interfacename | is the name of the interface |
methodname | is the name of the method in the object that was called when the error occurred |
errortype | is the type of error that has occurred |
errortext | is a description of the error that has occurred |