summaryrefslogtreecommitdiff
path: root/project2/common/rowProcessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/common/rowProcessor.h')
-rw-r--r--project2/common/rowProcessor.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/project2/common/rowProcessor.h b/project2/common/rowProcessor.h
index 04a61bf..70f453c 100644
--- a/project2/common/rowProcessor.h
+++ b/project2/common/rowProcessor.h
@@ -10,6 +10,7 @@
#include "scriptStorage.h"
class Presenter;
+class ExecContext;
/// Base class for Project2 components that work with row sets
class RowProcessor : public IHaveParameters {
@@ -25,12 +26,11 @@ class RowProcessor : public IHaveParameters {
protected:
boost::intrusive_ptr<RowSet> source;
- void execute() const;
+ void execute(ExecContext *, const RowProcessorCallback &) const;
private:
friend class RowState;
- void rowReadyInternal(const RowState *) const;
- virtual void rowReady(const RowState *) const = 0;
+ void rowReadyInternal(const RowState *, const RowProcessorCallback &, ExecContext *) const;
typedef ANONSTORAGEOF(Test) Tests;
Tests tests;
typedef ANONORDEREDSTORAGEOF(Cache) Caches;
@@ -40,8 +40,8 @@ class RowProcessor : public IHaveParameters {
typedef std::set<TargetCachePtr> TargetCaches;
mutable TargetCaches tc;
- void saveCaches() const;
- void discardCaches() const;
+ void saveCaches(ExecContext *) const;
+ void discardCaches(ExecContext *) const;
};
#endif