java.lang.Object
physx.NativeObject
physx.common.PxErrorCallback
- Direct Known Subclasses:
PxDefaultErrorCallback,PxErrorCallbackImpl
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxErrorCallbackarrayGet(long baseAddress, int index) voiddestroy()voidreportError(PxErrorCodeEnum code, String message, String file, int line) Reports an error code.static PxErrorCallbackwrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxErrorCallback
protected PxErrorCallback() -
PxErrorCallback
protected PxErrorCallback(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
reportError
Reports an error code. \param code Error code, see #PxErrorCode \param message Message to display. \param file File error occured in. \param line Line number error occured on.
-