NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxErrorCallback Class Reference

NVIDIA PhysX SDK 3.4 API

PxErrorCallback Class Reference
[Foundation]

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

#include <PxErrorCallback.h>

Inheritance diagram for PxErrorCallback:

List of all members.


Public Member Functions

virtual ~PxErrorCallback ()
virtual void reportError (PxErrorCode::Enum code, const char *message, const char *file, int line)=0
 Reports an error code.

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.
Threading: The SDK sequences its calls to the output stream using a mutex, so the class need not be implemented in a thread-safe manner if the SDK is the only client.

Constructor & Destructor Documentation

virtual PxErrorCallback::~PxErrorCallback (  )  [inline, virtual]


Member Function Documentation

virtual void PxErrorCallback::reportError ( PxErrorCode::Enum  code,
const char *  message,
const char *  file,
int  line 
) [pure virtual]

Reports an error code.

Parameters:
code Error code, see PxErrorCode
message Message to display.
file File error occured in.
line Line number error occured on.

Implemented in PxDefaultErrorCallback.


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



Copyright © 2008-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com