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

Comparing trunk/OOPSE-2.0/src/brains/SimSnapshotManager.hpp (file contents):
Revision 2006 by tim, Sun Feb 13 08:05:33 2005 UTC vs.
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC

# Line 1 | Line 1
1 < /*
1 > /*
2   * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved.
3   *
4   * The University of Notre Dame grants you ("Licensee") a
# Line 39 | Line 39
39   * such damages.
40   */
41  
42 < /**
43 <  * @file SimSnapshotManager.hpp
44 <  * @author tlin
45 <  * @date 10/20/2004
46 <  * @time 23:56am
47 <  * @version 1.0
48 <  */
42 > /**
43 > * @file SimSnapshotManager.hpp
44 > * @author tlin
45 > * @date 10/20/2004
46 > * @time 23:56am
47 > * @version 1.0
48 > */
49   #ifndef BRAINS_SIMSNAPSHOTMANAGER_HPP
50   #define BRAINS_SIMSNAPSHOTMANAGER_HPP
51  
# Line 54 | Line 54 | namespace oopse{
54  
55   namespace oopse{
56  
57 < //forward declaration
58 < class SimInfo;
59 <    /**
60 <     * @class SimSnapshotManager SimSnapshotManager.hpp "brains/SimSnapshotManager.hpp"
61 <     * @brief SimSnapshotManager class is the concrete snapshot manager for actual simulation
62 <     * SimSnapshotManager only maintains two snapshots.
63 <     * @see PropSimSnapshotManager
64 <     */
65 <    class SimSnapshotManager : public SnapshotManager {
66 <        public:
67 <            SimSnapshotManager(SimInfo* info, int storageLayout = 255);
68 <            ~SimSnapshotManager();
69 <            virtual bool advance();
57 >  //forward declaration
58 >  class SimInfo;
59 >  /**
60 >   * @class SimSnapshotManager SimSnapshotManager.hpp "brains/SimSnapshotManager.hpp"
61 >   * @brief SimSnapshotManager class is the concrete snapshot manager for actual simulation
62 >   * SimSnapshotManager only maintains two snapshots.
63 >   * @see PropSimSnapshotManager
64 >   */
65 >  class SimSnapshotManager : public SnapshotManager {
66 >  public:
67 >    SimSnapshotManager(SimInfo* info, int storageLayout = 255);
68 >    ~SimSnapshotManager();
69 >    virtual bool advance();
70  
71 <            virtual Snapshot* getSnapshot(int id);
71 >    virtual Snapshot* getSnapshot(int id);
72              
73 <            virtual int getCapacity();
73 >    virtual int getCapacity();
74  
75 <            virtual void setCapacity(int capacity);
75 >    virtual void setCapacity(int capacity);
76              
77 <        private:
78 <            SimInfo* info_;
79 <    };
77 >  private:
78 >    SimInfo* info_;
79 >  };
80  
81   }
82   #endif //BRAINS_SIMSNAPSHOTMANAGER_HPP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines