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