![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Help wrapper class supporting of cached parts. More...
#include <TCachedUpdateManagerWrap.h>
Inherits Base.
Public Types | |
typedef Base | BaseClass |
Public Member Functions | |
TCachedUpdateManagerWrap () | |
virtual void | BeginChanges (const IChangeable::ChangeSet &changeSet) |
virtual void | EndChanges (const IChangeable::ChangeSet &changeSet) |
Protected Member Functions | |
bool | EnsureCacheValid () const |
Ensures cache is valid. | |
void | InvalidateCache (const IChangeable::ChangeSet &changeSet) |
Make cache invalid. | |
void | SetCacheValid () |
Say that cache is valid. | |
virtual bool | CalculateCache (const IChangeable::ChangeSet &changeSet) |
Calculate cache. | |
Help wrapper class supporting of cached parts.
Definition at line 20 of file TCachedUpdateManagerWrap.h.
Base istd::TCachedUpdateManagerWrap< Base >::BaseClass |
Definition at line 23 of file TCachedUpdateManagerWrap.h.
istd::TCachedUpdateManagerWrap< Base >::TCachedUpdateManagerWrap | ( | ) |
Definition at line 133 of file TCachedUpdateManagerWrap.h.
|
virtual |
Definition at line 66 of file TCachedUpdateManagerWrap.h.
|
inlineprotectedvirtual |
Calculate cache.
It will be called, if cache was not valid and EnsureCacheValid() is called. Default implementation does nothing and is provided to ensure that base class for all derived classes implement this method.
Reimplemented in iimg::CReflectedBitmapBase, and imath::TFulcrumGridFunctionBase< Argument, Result, Fulcrums >.
Definition at line 124 of file TCachedUpdateManagerWrap.h.
|
virtual |
Definition at line 79 of file TCachedUpdateManagerWrap.h.
|
inlineprotected |
Ensures cache is valid.
If cache is not valid method CalculateCache will be called to update it.
Definition at line 91 of file TCachedUpdateManagerWrap.h.
|
protected |
Make cache invalid.
This is automatically done when model/observer mechanism is used.
Definition at line 106 of file TCachedUpdateManagerWrap.h.
|
inlineprotected |
Say that cache is valid.
Definition at line 115 of file TCachedUpdateManagerWrap.h.
References istd::IChangeable::ChangeSet::Reset().
© Witold Gantzke and Kirill Lepskiy