Public Member Functions
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:

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 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.