User defined interface class. Used by the library to emit debug information. More...
#include <PxErrorCallback.h>
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... | |
User defined interface class. Used by the library to emit debug information.
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.
|
inlinevirtual |
|
pure virtual |
Reports an error code.
code | Error code, see PxErrorCode |
message | Message to display. |
file | File error occured in. |
line | Line number error occured on. |
Implemented in PxDefaultErrorCallback.