Generated on Mon Jun 23 17:17:53 2008 for ell-2.3.0 by doxygen 1.5.1

src/ell/StateCollector.hh

Go to the documentation of this file.
00001 #ifndef WALKCOLLECTOR_HH_
00002 #define WALKCOLLECTOR_HH_
00003 
00004 #include "ell/State.hh"
00005 #include <vector>
00006 
00007 namespace ell 
00008 {
00016     class StateCollector
00017     {
00018     public: 
00019     
00020         virtual
00021         ~StateCollector() {}
00022         
00025         virtual void add(const State& s) = 0;
00026         
00029         virtual size_t size() const = 0;
00030         
00033         virtual const State* const getLastAdded() const = 0;
00034         
00035     };
00036     
00037 } // namespace ell
00038 
00039 #endif /*WALKCOLLECTOR_HH_*/