Qt 4.8
Public Functions | Properties | List of all members
QGL2GradientCacheWrapper Class Reference

Public Functions

QGL2GradientCachecacheForContext (const QGLContext *context)
 

Properties

QMutex m_mutex
 
QGLContextGroupResource< QGL2GradientCachem_resource
 

Detailed Description

Definition at line 49 of file qglgradientcache.cpp.

Functions

◆ cacheForContext()

QGL2GradientCache* QGL2GradientCacheWrapper::cacheForContext ( const QGLContext context)
inline

Definition at line 52 of file qglgradientcache.cpp.

52  {
54  return m_resource.value(context);
55  }
T * value(const QGLContext *context)
Definition: qgl_p.h:775
The QMutexLocker class is a convenience class that simplifies locking and unlocking mutexes...
Definition: qmutex.h:101
QGLContextGroupResource< QGL2GradientCache > m_resource
static QReadWriteLock lock
Definition: proxyconf.cpp:399

Properties

◆ m_mutex

QMutex QGL2GradientCacheWrapper::m_mutex
private

◆ m_resource

QGLContextGroupResource<QGL2GradientCache> QGL2GradientCacheWrapper::m_resource
private

Definition at line 58 of file qglgradientcache.cpp.

Referenced by cacheForContext().


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