Public Member Functions | List of all members
PxErrorCallback Class Referenceabstract

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

#include <PxErrorCallback.h>

Inheritance diagram for PxErrorCallback:
Inheritance graph
[legend]

Public Member Functions

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

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

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
codeError code, see PxErrorCode
messageMessage to display.
fileFile error occured in.
lineLine number error occured on.

Implemented in PxDefaultErrorCallback.


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


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