IGameErrorCallBack Class Reference
 
 
 
IGameErrorCallBack Class Reference

This reference page is linked to from the following overview topics: 3DXI Error Reporting.


#include <IGameError.h>

Inheritance diagram for IGameErrorCallBack:
MaxHeapOperators

Class Description

Error callback.

Define a callback for error reporting. This will be called when ever an error has been reported by the system. The developer can then call GetIGameErrorText to retrieve a more detailed error description. The callback can be set by using SetErrorCallBack()

Public Member Functions

virtual  ~IGameErrorCallBack ()
  Destructor.
virtual void  ErrorProc (IGameError error)=0
  The error callback.

Constructor & Destructor Documentation

virtual ~IGameErrorCallBack ( ) [inline, virtual]

Destructor.

{;}

Member Function Documentation

virtual void ErrorProc ( IGameError  error ) [pure virtual]

The error callback.

This needs to be implemented by the developer and is used by the system to report the error

Parameters:
error The error code of the last error