Foundation SDK singleton class. More...
#include <PxFoundation.h>
Public Member Functions | |
virtual void | release ()=0 |
Destroys the instance it is called on. More... | |
virtual PxErrorCallback & | getErrorCallback () const =0 |
virtual void | setErrorLevel (PxErrorCode::Enum mask=PxErrorCode::eMASK_ALL)=0 |
virtual PxErrorCode::Enum | getErrorLevel () const =0 |
virtual PxBroadcastingAllocator & | getAllocator () const =0 |
virtual PxAllocatorCallback & | getAllocatorCallback () const =0 |
virtual bool | getReportAllocationNames () const =0 |
virtual void | setReportAllocationNames (bool value)=0 |
Protected Member Functions | |
virtual | ~PxFoundation () |
Foundation SDK singleton class.
You need to have an instance of this class to instance the higher level SDKs.
|
inlineprotectedvirtual |
|
pure virtual |
retrieves the current allocator.
|
pure virtual |
Retrieves the allocator this object was created with.
|
pure virtual |
retrieves error callback
|
pure virtual |
Retrieves mask of errors to be reported.
|
pure virtual |
Retrieves if allocation names are being passed to allocator callback.
|
pure virtual |
Destroys the instance it is called on.
The operation will fail, if there are still modules referencing the foundation object. Release all dependent modules prior to calling this method.
|
pure virtual |
Sets mask of errors to report.
|
pure virtual |
Set if allocation names are being passed to allocator callback.
Enabled by default in debug and checked build, disabled by default in profile and release build.