SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Public Member Functions | List of all members
smtk::operation::SynchronizedCache Struct Referenceabstract

A query cache that updates according to the result outputs of operations. More...

#include <SynchronizedCache.h>

Inheritance diagram for smtk::operation::SynchronizedCache:
[legend]
Collaboration diagram for smtk::operation::SynchronizedCache:
[legend]

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
 

Detailed Description

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.


The documentation for this struct was generated from the following file: