|
Krita Source Code Documentation
|
#include <KisLazySharedCacheStorage.h>
Public Types | |
| using | ConstType = std::add_const_t<T> |
| using | FactoryType = T*(Args...) |
Public Member Functions | |
| void | initialize (Args... args) |
| bool | isNull () const |
| KisLazySharedCacheStorageBase () | |
| KisLazySharedCacheStorageBase (const KisLazySharedCacheStorageBase &rhs) | |
| KisLazySharedCacheStorageBase (std::function< FactoryType > factory) | |
| void | reset () |
| void | setFactory (std::function< FactoryType > factory) |
| ConstType * | value (Args... args) |
Private Attributes | |
| QAtomicPointer< ConstType > | m_cachedValue |
| DataWrapper | m_dataWrapper |
| std::function< FactoryType > | m_factory |
| QMutex | m_mutex |
Definition at line 113 of file KisLazySharedCacheStorage.h.
| using KisLazySharedCacheStorageBase< DataWrapper, T, Args >::ConstType = std::add_const_t<T> |
Definition at line 116 of file KisLazySharedCacheStorage.h.
| using KisLazySharedCacheStorageBase< DataWrapper, T, Args >::FactoryType = T*(Args...) |
Definition at line 117 of file KisLazySharedCacheStorage.h.
|
inline |
Definition at line 120 of file KisLazySharedCacheStorage.h.
|
inline |
Definition at line 124 of file KisLazySharedCacheStorage.h.
|
inline |
Definition at line 129 of file KisLazySharedCacheStorage.h.
References KisLazySharedCacheStorageBase< DataWrapper, T, Args >::m_cachedValue, KisLazySharedCacheStorageBase< DataWrapper, T, Args >::m_dataWrapper, KisLazySharedCacheStorageBase< DataWrapper, T, Args >::m_factory, and KisLazySharedCacheStorageBase< DataWrapper, T, Args >::m_mutex.
|
inline |
Definition at line 157 of file KisLazySharedCacheStorage.h.
References KisLazySharedCacheStorageBase< DataWrapper, T, Args >::value(), and void().
|
inline |
Definition at line 153 of file KisLazySharedCacheStorage.h.
References KisLazySharedCacheStorageBase< DataWrapper, T, Args >::m_cachedValue, and KisLazySharedCacheStorageBase< DataWrapper, T, Args >::m_dataWrapper.
|
inline |
Definition at line 161 of file KisLazySharedCacheStorage.h.
References KisLazySharedCacheStorageBase< DataWrapper, T, Args >::m_cachedValue, KisLazySharedCacheStorageBase< DataWrapper, T, Args >::m_dataWrapper, and KisLazySharedCacheStorageBase< DataWrapper, T, Args >::m_mutex.
|
inline |
Definition at line 136 of file KisLazySharedCacheStorage.h.
References KisLazySharedCacheStorageBase< DataWrapper, T, Args >::m_factory.
|
inline |
Definition at line 140 of file KisLazySharedCacheStorage.h.
References KisLazySharedCacheStorageBase< DataWrapper, T, Args >::m_cachedValue, KisLazySharedCacheStorageBase< DataWrapper, T, Args >::m_dataWrapper, KisLazySharedCacheStorageBase< DataWrapper, T, Args >::m_factory, and KisLazySharedCacheStorageBase< DataWrapper, T, Args >::m_mutex.
|
private |
Definition at line 170 of file KisLazySharedCacheStorage.h.
|
private |
Definition at line 169 of file KisLazySharedCacheStorage.h.
|
private |
Definition at line 168 of file KisLazySharedCacheStorage.h.
|
mutableprivate |
Definition at line 171 of file KisLazySharedCacheStorage.h.