MINT2
|
#include <CachedVar.h>
Public Member Functions | |
CachedVar (const T &var=T()) | |
void | changed () |
void | updated () |
T & | get () |
const T & | get () const |
CachedVar & | operator= (const T &other) |
operator const T & () | |
bool | isUpdateNeeded () |
~CachedVar () | |
Private Attributes | |
bool | _needsUpdate |
T | _cachedVar |
HyperPlot, Author: Sam Harnew, sam.h , Date: Dec 2015 arne w@gma il.c om
Used for variables we want to cache. Provides a flag that tells us when the cached variable needs updating
Definition at line 24 of file CachedVar.h.
Definition at line 65 of file CachedVar.h.
Definition at line 58 of file CachedVar.h.
|
inline |
Definition at line 35 of file CachedVar.h.
|
inline |
Definition at line 42 of file CachedVar.h.
|
inline |
Definition at line 43 of file CachedVar.h.
|
inline |
Definition at line 54 of file CachedVar.h.
|
inline |
Definition at line 50 of file CachedVar.h.
Definition at line 45 of file CachedVar.h.
|
inline |
Definition at line 38 of file CachedVar.h.
|
private |
Definition at line 29 of file CachedVar.h.
|
private |
Definition at line 28 of file CachedVar.h.