APEX Framework: nvidia::apex::ScopedPhysXLockWrite Class Reference

NVIDIA APEX

nvidia::apex::ScopedPhysXLockWrite Class Reference

This helper class creates a scoped write access to the PhysX SDK API. More...

#include <ScopedPhysXLock.h>

List of all members.

Public Member Functions

 ScopedPhysXLockWrite (nvidia::Scene *scene, const char *fileName, int lineno)
 Constructor for ScopedPhysXLockWrite.
 ScopedPhysXLockWrite (physx::PxScene *scene, const char *fileName, int lineno)
 Constructor for ScopedPhysXLockWrite.

Detailed Description

This helper class creates a scoped write access to the PhysX SDK API.

This helper class is used to create a scoped write lock/unlock pair around a section of code which is trying to do read access against the PhysX SDK.


Constructor & Destructor Documentation

nvidia::apex::ScopedPhysXLockWrite::ScopedPhysXLockWrite ( nvidia::Scene scene,
const char *  fileName,
int  lineno 
) [inline]

Constructor for ScopedPhysXLockWrite.

Parameters:
[in]scenethe APEX scene
[in]fileNameused to determine what file called the lock for debugging purposes
[in]linenoused to determine what line number called the lock for debugging purposes
nvidia::apex::ScopedPhysXLockWrite::ScopedPhysXLockWrite ( physx::PxScene *  scene,
const char *  fileName,
int  lineno 
) [inline]

Constructor for ScopedPhysXLockWrite.

Parameters:
[in]scenethe PhysX scene
[in]fileNameused to determine what file called the lock for debugging purposes
[in]linenoused to determine what line number called the lock for debugging purposes

The documentation for this class was generated from the following file:

Generated on Fri Dec 15 2017 13:58:41

Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.