This class allows to cache values.
More...
#include <Cached.h>
|
bool | dirty (unsigned int id_) const |
|
void | setDirty (unsigned int id_) |
|
void | setDirty (void) |
|
virtual void | setAndPropagateDirty (unsigned int id_) |
|
virtual void | setAndPropagateDirty (void) |
|
void | cacheValue (const unsigned int id_, TYPE value_) const |
|
TYPE | getValue (const unsigned int id_) const |
|
|
std::map< unsigned int, TYPE > | _values |
| Container of the cached values. Is mutable to allow const methods to modify the cache if needed.
|
|
template<typename TYPE = float>
class nsol::Cached< TYPE >
This class allows to cache values.
Definition at line 36 of file Cached.h.
The documentation for this class was generated from the following file: