Public Member Functions
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 Sat Dec 1 2018 15:52:10

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