Base class for any rw-lockable object implemented by APEX SDK. More...
#include <RWLockable.h>
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.