Main Page Class List Class Members

# Nv::Blast::ErrorCallback Class Reference

User defined interface class. Used by the library to emit debug information. More...

`#include <NvBlastGlobals.h>`

List of all members.

## Public Member Functions
virtual void | reportError (ErrorCode::Enum code, const char *message, const char *file, int line)=0
| Reports an error code.
virtual | ~ErrorCallback ()

## Detailed Description

User defined interface class. Used by the library to emit debug information.

Note:
  The SDK state should not be modified from within any error reporting functions.

## Constructor & Destructor Documentation

virtual Nv::Blast::ErrorCallback::~ErrorCallback | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

virtual void Nv::Blast::ErrorCallback::reportError | ( | ErrorCode::Enum | code,
|  | const char * | message,
|  | const char * | file,
|  | int | line |
| ) |  |  | `[pure virtual]`

Reports an error code.

Parameters:

  | code | Error code, see ErrorCode
  | message | Message to display.
  | file | File error occured in.
  | line | Line number error occured on.

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

- sdk/globals/include/NvBlastGlobals.h