APEX Framework: nvidia::apex::RWLockable Class Reference

NVIDIA APEX

nvidia::apex::RWLockable Class Reference

Base class for any rw-lockable object implemented by APEX SDK. More...

#include <RWLockable.h>

Inheritance diagram for nvidia::apex::RWLockable:
nvidia::apex::ApexInterface nvidia::apex::Actor nvidia::apex::ApexSDK nvidia::apex::Asset nvidia::apex::AssetAuthoring nvidia::apex::AssetPreview nvidia::apex::AssetPreviewScene nvidia::apex::ClothingCollision nvidia::apex::ClothingPhysicalMesh nvidia::apex::ClothingRenderProxy nvidia::apex::DestructibleActorJoint nvidia::apex::DestructibleRenderable nvidia::apex::IofxRenderable nvidia::apex::IofxRenderableIterator nvidia::apex::Module nvidia::apex::RenderableIterator nvidia::apex::RenderDebugInterface nvidia::apex::RenderVolume nvidia::apex::Scene nvidia::apex::TurbulenceRenderable

List of all members.

Public Member Functions

virtual void acquireReadLock (const char *fileName, const uint32_t lineno) const =0
 Acquire RW lock for read access.
virtual void acquireWriteLock (const char *fileName, const uint32_t lineno) const =0
 Acquire RW lock for write access.
virtual void releaseReadLock (void) const =0
 Release the RW read lock.
virtual void releaseWriteLock (void) const =0
 Release the RW write lock.

Detailed Description

Base class for any rw-lockable object implemented by APEX SDK.


Member Function Documentation

virtual void nvidia::apex::RWLockable::acquireReadLock ( const char *  fileName,
const uint32_t  lineno 
) const [pure virtual]

Acquire RW lock for read access.

The APEX 1.3.3 SDK (and higher) provides a multiple-reader single writer mutex lock to coordinate access to the APEX SDK API from multiple concurrent threads. This method will in turn invoke the lockRead call on the APEX Scene. The source code fileName and line number are provided for debugging purposes.

virtual void nvidia::apex::RWLockable::acquireWriteLock ( const char *  fileName,
const uint32_t  lineno 
) const [pure virtual]

Acquire RW lock for write access.

The APEX 1.3.3 SDK (and higher) provides a multiple-reader single writer mutex lock to coordinate access to the APEX SDK API from multiple concurrent threads. This method will in turn invoke the lockRead call on the APEX Scene. The source code fileName and line number are provided for debugging purposes.


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

Generated on Fri Dec 15 2017 13:58:40

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