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 1820 by tim, Thu Dec 2 00:09:35 2004 UTC vs.
Revision 1832 by tim, Thu Dec 2 16:04:19 2004 UTC

# Line 25 | Line 25
25  
26   #include "brains/SimInfo.hpp"
27   #include "brains/SimSnapshotManager.hpp"
28 <
28 > #include "utils/simError.h"
29   namespace oopse {
30  
31   SimSnapshotManager::SimSnapshotManager(SimInfo* info) : info_(info){
# Line 58 | Line 58 | void SimSnapshotManager::setCapacity(int capacity);
58      return 2;
59   }
60  
61 < void SimSnapshotManager::setCapacity(int capacity);
61 > void SimSnapshotManager::setCapacity(int capacity) {
62      //give warning message
63 +    sprintf( painCave.errMsg,
64 +        "SimSnapshotManager error: can not set capacity for SimSnapshotManager.\n" );
65 +    painCave.isFatal = 0;
66 +    simError();    
67 + }
68 +
69   } //namespace oopse

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines