PxErrorCallback Class Reference
[Foundation]
User defined interface class. Used by the library to emit debug information.
More...
#include <PxErrorCallback.h>
Inheritance diagram for PxErrorCallback:
![Inheritance graph](classPxErrorCallback__inherit__graph.png)
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.
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-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com