ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-2.0/src/brains/SimSnapshotManager.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-2.0/src/brains/SimSnapshotManager.cpp (file contents):
Revision 1765 by tim, Mon Nov 22 20:55:52 2004 UTC vs.
Revision 1804 by tim, Tue Nov 30 19:58:25 2004 UTC

# Line 23 | Line 23 | namespace oopse {
23   *
24   */
25  
26 + #include "brains/SimInfo.hpp"
27 + #include "brains/SimSnapshotManager.hpp"
28 +
29   namespace oopse {
30  
31   SimSnapshotManager::SimSnapshotManager(SimInfo* info) : info_(info){
# Line 38 | Line 41 | bool SimSnapshotManager::advance() {
41  
42      *previousSnapshot_ = *currentSnapshot_;
43      currentSnapshot_->setID(currentSnapshot_->getID() + 1);
44 +    return true;
45   }
46  
47   Snapshot* SimSnapshotManager::getSnapshot(int id) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines