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

Comparing branches/new_design/OOPSE-3.0/src/brains/Snapshot.hpp (file contents):
Revision 1695 by tim, Mon Nov 1 22:52:57 2004 UTC vs.
Revision 1710 by tim, Thu Nov 4 19:48:22 2004 UTC

# Line 37 | Line 37
37   #include <vector>
38  
39   #include "brains/DataStorage.hpp"
40 + #include "brains/Stats.hpp"
41  
42   using namespace std;
43  
44   namespace oopse{
45  
45    class StuntDouble;
46    
46      /**
47       * @class Snapshot Snapshot.hpp "brains/Snapshot.hpp"
48       * @brief Snapshot class is a repository class for storing dynamic data during
# Line 74 | Line 73 | namespace oopse{
73                  id_ = id;
74              }
75  
77            //template<typename T>
78            //static typename T::ElemPointerType getArrayPointer(vector<T>& v) {
79            //    return v[0]->getArrayPointer();
80            //}
81
76              int getSize() {
77                  return atomData.getSize() + rigidbodyData.getSize();
78              }
# Line 117 | Line 111 | namespace oopse{
111                  timeStamp_ =timeStamp;
112              }
113  
120
114              DataStorage atomData;
115              DataStorage rigidbodyData;
116 +            Stats statData;
117              
124            friend class StuntDouble;
125            
118          private:
119              double timeStamp_;
120              Mat3x3d hmat_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines