OpenSubdiv
|
Template for declaring thread-safe subclasses of SurfaceFactoryCache. More...
#include <surfaceFactoryCache.h>
Public Member Functions | |
SurfaceFactoryCacheThreaded () | |
~SurfaceFactoryCacheThreaded () override=default | |
Public Member Functions inherited from SurfaceFactoryCache | |
SurfaceFactoryCache () | |
virtual | ~SurfaceFactoryCache () |
SurfaceFactoryCache (SurfaceFactoryCache const &)=delete | |
SurfaceFactoryCache & | operator= (SurfaceFactoryCache const &)=delete |
Template for declaring thread-safe subclasses of SurfaceFactoryCache.
SurfaceFactoryCacheThreaded extends SurfaceFactoryCache by protecting access to the cache to ensure thread-safe operation. A mutex type and associated locks are specified to declare a subclass with appropriately protected read and write access.
MUTEX_TYPE | A mutex type with supported lock guards |
READ_LOCK_GUARD_TYPE | A scoped lock guard allowing potentially shared access for read operations. |
WRITE_LOCK_GUARD_TYPE | A scoped lock guard allowing exclusive access for write operations. |
Definition at line 118 of file surfaceFactoryCache.h.
|
inline |
Definition at line 120 of file surfaceFactoryCache.h.
|
overridedefault |