SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
A query cache that updates according to the result outputs of operations. More...
#include <SynchronizedCache.h>
Public Member Functions | |
virtual void | synchronize (const Operation &, const Operation::Result &)=0 |
Public Member Functions inherited from smtk::resource::query::Cache | |
virtual std::size_t | index () const |
A query cache that updates according to the result outputs of operations.
By default, caches are populated when they are used the first time and then their contents are used for subsequent calls; there is no default mechanism to flush a cache because there is no appropriate signal to trigger the cache to flush. A SynchronizedCache can be registered to an operation Manager to flush its cache elements that correspond to modified or expunged components.