|
RavEngine
|
Abstract base class for an application defined error callback that allows an external listener to report errors. More...
#include <PxBroadcast.h>
Public Member Functions | |
| PxBroadcastingErrorCallback (PxErrorCallback &errorCallback) | |
| The default constructor. | |
| virtual | ~PxBroadcastingErrorCallback () |
| The default destructor. | |
| void | reportError (PxErrorCode::Enum code, const char *message, const char *file, int line) |
| Reports an error code. | |
Public Member Functions inherited from physx::PxBroadcast< PxErrorCallback, PxErrorCallback > | |
| PxBroadcast () | |
| The default constructor. | |
| void | registerListener (PxErrorCallback &listener) |
| Register new listener. | |
| void | deregisterListener (PxErrorCallback &listener) |
| Deregister an existing listener. | |
| uint32_t | getNbListeners () const |
| Get number of registered listeners. | |
| PxErrorCallback & | getListener (uint32_t index) |
| Get an existing listener from given index. | |
Additional Inherited Members | |
Static Public Attributes inherited from physx::PxBroadcast< PxErrorCallback, PxErrorCallback > | |
| static const uint32_t | MAX_NB_LISTENERS |
Protected Attributes inherited from physx::PxBroadcast< PxErrorCallback, PxErrorCallback > | |
| physx::PxInlineArray< PxErrorCallback *, MAX_NB_LISTENERS, physx::PxAllocator > | mListeners |
Abstract base class for an application defined error callback that allows an external listener to report errors.
|
inlinevirtual |
Reports an error code.
| code | Error code, see #PxErrorCode |
| message | Message to display. |
| file | File error occured in. |
| line | Line number error occured on. |
Implements physx::PxErrorCallback.