#include <PxSceneLock.h>

Public Member Functions | |
| PxSceneReadLock (PxScene &scene, const char *file=NULL, PxU32 line=0) | |
| Constructor. | |
| ~PxSceneReadLock () | |
Private Member Functions | |
| PxSceneReadLock (const PxSceneReadLock &) | |
| PxSceneReadLock & | operator= (const PxSceneReadLock &) |
Private Attributes | |
| PxScene & | mScene |
Use this class as follows to lock the scene for reading by the current thread for the duration of the enclosing scope:
PxSceneReadLock lock(sceneRef);
| PxSceneReadLock::PxSceneReadLock | ( | const PxSceneReadLock & | ) | [private] |
| PxSceneReadLock::PxSceneReadLock | ( | PxScene & | scene, | |
| const char * | file = NULL, |
|||
| PxU32 | line = 0 | |||
| ) | [inline] |
Constructor.
| scene | The scene to lock for reading | |
| file | Optional string for debugging purposes | |
| line | Optional line number for debugging purposes |
| PxSceneReadLock::~PxSceneReadLock | ( | ) | [inline] |
| PxSceneReadLock& PxSceneReadLock::operator= | ( | const PxSceneReadLock & | ) | [private] |
PxScene& PxSceneReadLock::mScene [private] |