SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
smtk
operation
queries
SynchronizedCache.h
1
//=========================================================================
2
// Copyright (c) Kitware, Inc.
3
// All rights reserved.
4
// See LICENSE.txt for details.
5
//
6
// This software is distributed WITHOUT ANY WARRANTY; without even
7
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8
// PURPOSE. See the above copyright notice for more information.
9
//=========================================================================
10
11
#ifndef smtk_operation_SynchronizedCache_h
12
#define smtk_operation_SynchronizedCache_h
13
14
#include "smtk/CoreExports.h"
15
16
#include "smtk/resource/query/Cache.h"
17
18
#include "smtk/operation/Operation.h"
19
20
namespace
smtk
21
{
22
namespace
operation
23
{
24
33
struct
SMTKCORE_EXPORT
SynchronizedCache
:
public
smtk::resource::query::Cache
34
{
35
virtual
void
synchronize(
const
Operation
&,
const
Operation::Result&) = 0;
36
};
37
}
// namespace operation
38
}
// namespace smtk
39
40
#endif
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition:
doc.h:33
smtk::resource::query::Cache
A base class for persistent data used in conjunction with Query types.
Definition:
Cache.h:31
smtk::operation::Operation
Operation is a base class for all SMTK operations.
Definition:
Operation.h:61
smtk::operation::SynchronizedCache
A query cache that updates according to the result outputs of operations.
Definition:
SynchronizedCache.h:33
Generated by
1.8.17