Simplygon C++ API  8.3.35800.0
SimplygonSDK::rerrorhandler Class Referenceabstract

#include <SimplygonSDK.h>

Public Member Functions

virtual void HandleError (IObject *object, const char *interfacename, const char *methodname, rid errortype, const char *errortext)=0
 

Detailed Description

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.

Member Function Documentation

◆ HandleError()

virtual void SimplygonSDK::rerrorhandler::HandleError ( IObject object,
const char *  interfacename,
const char *  methodname,
rid  errortype,
const char *  errortext 
)
pure virtual

The HandleError method will receive all error messages from the interface.

Parameters
objectis the interface object that raised the error message
interfacenameis the name of the interface
methodnameis the name of the method in the object that was called when the error occurred
errortypeis the type of error that has occurred
errortextis a description of the error that has occurred

The documentation for this class was generated from the following file: