Public Member Functions

IGameErrorCallBack Class Reference

Search for all occurrences

Detailed 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()

#include <IGameError.h>

Inheritance diagram for IGameErrorCallBack:
Inheritance graph
[legend]

List of all members.

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

IGameErrorCallBack IGameErrorCallBack IGameErrorCallBack IGameErrorCallBack IGameErrorCallBack IGameErrorCallBack IGameErrorCallBack IGameErrorCallBack IGameErrorCallBack IGameErrorCallBack
IGameErrorCallBack IGameErrorCallBack IGameErrorCallBack IGameErrorCallBack IGameErrorCallBack IGameErrorCallBack IGameErrorCallBack IGameErrorCallBack IGameErrorCallBack IGameErrorCallBack