APEX Framework: Lock.h File Reference

NVIDIA APEX

Lock.h File Reference

classes PxSceneReadLock, PxSceneWriteLock More...

#include "ApexInterface.h"

Go to the source code of this file.

Classes

class  nvidia::apex::ReadLock
 RAII wrapper for the Scene read lock. More...
class  nvidia::apex::WriteLock
 RAII wrapper for the Scene write lock. More...

Namespaces

namespace  nvidia
 

nvidia namespace


namespace  nvidia::apex
 

apex namespace


Defines

#define WRITE_LOCK(LOCKABLE)   nvidia::apex::WriteLock __WriteLock(LOCKABLE, __FILE__, __LINE__);
 Lock an object for writing by the current thread for the duration of the enclosing scope.
#define READ_LOCK(LOCKABLE)   nvidia::apex::ReadLock __ReadLock(LOCKABLE, __FILE__, __LINE__);
 Lock an object for reading by the current thread for the duration of the enclosing scope.

Detailed Description

classes PxSceneReadLock, PxSceneWriteLock


Generated on Fri Dec 15 2017 13:58:35

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