|
Krita Source Code Documentation
|
#include <KisLazyValueWrapper.h>
Public Types | |
| using | value_type = T |
Public Member Functions | |
| KisLazyValueWrapper ()=default | |
| KisLazyValueWrapper (const KisLazyValueWrapper &rhs)=delete | |
| KisLazyValueWrapper (KisLazyValueWrapper &&rhs)=default | |
| KisLazyValueWrapper (std::function< value_type()> func) | |
| operator const value_type & () const | |
| KisLazyValueWrapper & | operator= (const KisLazyValueWrapper &rhs)=delete |
| KisLazyValueWrapper & | operator= (KisLazyValueWrapper &&rhs)=default |
| ~KisLazyValueWrapper ()=default | |
Public Attributes | |
| value_type | value {} |
A simple wrapper that creates a value from a functor on construction. It is not a "lazy value" class in a classic form, because it requires to be wrapped into KisLazyStorage to support atomic/thread-safe access.
Definition at line 17 of file KisLazyValueWrapper.h.
| using KisLazyValueWrapper< T >::value_type = T |
Definition at line 19 of file KisLazyValueWrapper.h.
|
default |
|
inlineexplicit |
Definition at line 23 of file KisLazyValueWrapper.h.
References KisLazyValueWrapper< T >::value.
|
default |
|
delete |
|
default |
|
inline |
Definition at line 29 of file KisLazyValueWrapper.h.
References KisLazyValueWrapper< T >::value.
|
delete |
|
default |
| value_type KisLazyValueWrapper< T >::value {} |
Definition at line 39 of file KisLazyValueWrapper.h.