# | Line 34 | Line 34 | |
---|---|---|
34 | #define BRAINS_SNAPSHOTMANAGER_HPP | |
35 | ||
36 | #include "brains/SnapshotManager.hpp" | |
37 | < | |
37 | > | #include "brains/SimInfo.hpp" |
38 | namespace oopse{ | |
39 | ||
40 | /** | |
# | Line 45 | Line 45 | namespace oopse{ | |
45 | */ | |
46 | class SimSnapshotManager : public SnapshotManager { | |
47 | public: | |
48 | < | SimSnapshotManager(SimModel* model); |
48 | > | SimSnapshotManager(SimInfo* info); |
49 | virtual bool advance(); | |
50 | ||
51 | virtual Snapshot* getSnapshot(int id); | |
# | Line 55 | Line 55 | namespace oopse{ | |
55 | virtual void setCapacity(int capacity); | |
56 | ||
57 | private: | |
58 | + | SimInfo* info_; |
59 | }; | |
60 | ||
61 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |