29#ifndef PX_SCENE_LOCK_H
30#define PX_SCENE_LOCK_H
35#include "PxPhysXConfig.h"
RAII wrapper for the PxScene read lock.
Definition PxSceneLock.h:54
PxSceneReadLock(PxScene &scene, const char *file=NULL, PxU32 line=0)
Constructor.
Definition PxSceneLock.h:66
RAII wrapper for the PxScene write lock.
Definition PxSceneLock.h:93
PxSceneWriteLock(PxScene &scene, const char *file=NULL, PxU32 line=0)
Constructor.
Definition PxSceneLock.h:105
A scene is a collection of bodies and constraints which can interact.
Definition PxScene.h:178
virtual void unlockRead()=0
Unlock the scene from reading.
virtual void unlockWrite()=0
Unlock the scene from writing.
virtual void lockWrite(const char *file=NULL, PxU32 line=0)=0
Lock the scene for writing from this thread.
virtual void lockRead(const char *file=NULL, PxU32 line=0)=0
Lock the scene for reading from the calling thread.
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39