PagePredicate Class Reference

Callback class for Cache::checkpointPages. More...

#include <PagePredicate.h>

Inheritance diagram for PagePredicate:

DeviceIdPagePredicate FuzzyCheckpointSet MappedPageListenerPredicate List of all members.

Public Member Functions

virtual ~PagePredicate ()
virtual bool operator() (CachePage const &page)=0
 Tests the predicate.

Detailed Description

Callback class for Cache::checkpointPages.

Definition at line 37 of file PagePredicate.h.


Constructor & Destructor Documentation

PagePredicate::~PagePredicate (  )  [virtual]

Definition at line 29 of file PagePredicate.cpp.

00030 {
00031 }


Member Function Documentation

virtual bool PagePredicate::operator() ( CachePage const &  page  )  [pure virtual]

Tests the predicate.

Parameters:
page the page to be considered
Returns:
true iff the page satisfies the predicate

Implemented in FuzzyCheckpointSet, DeviceIdPagePredicate, and MappedPageListenerPredicate.


The documentation for this class was generated from the following files:
Generated on Mon Jun 22 04:00:40 2009 for Fennel by  doxygen 1.5.1