PxFoundation Class Reference
[Foundation]
Foundation SDK singleton class.
More...
#include <PxFoundation.h>
Public Member Functions | |
virtual void | release ()=0 |
Destroys the instance it is called on. | |
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 |
Protected Member Functions | |
virtual | ~PxFoundation () |
Detailed Description
Foundation SDK singleton class.You need to have an instance of this class to instance the higher level SDKs.
Constructor & Destructor Documentation
virtual PxFoundation::~PxFoundation | ( | ) | [inline, protected, virtual] |
Member Function Documentation
virtual PxBroadcastingAllocator& PxFoundation::getAllocator | ( | ) | const [pure virtual] |
retrieves the current allocator.
virtual PxAllocatorCallback& PxFoundation::getAllocatorCallback | ( | ) | const [pure virtual] |
Retrieves the allocator this object was created with.
virtual PxErrorCallback& PxFoundation::getErrorCallback | ( | ) | const [pure virtual] |
retrieves error callback
virtual PxErrorCode::Enum PxFoundation::getErrorLevel | ( | ) | const [pure virtual] |
Retrieves mask of errors to be reported.
virtual void PxFoundation::release | ( | ) | [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.
- See also:
- PxCreateFoundation()
virtual void PxFoundation::setErrorLevel | ( | PxErrorCode::Enum | mask = PxErrorCode::eMASK_ALL |
) | [pure virtual] |
Sets mask of errors to report.
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