70      delete currentSnapshot_;
 
   71      delete previousSnapshot_;
 
   74    virtual bool advance() { 
return true; }
 
   75    virtual bool resetToPrevious() { 
return true; }
 
   77    virtual Snapshot* getSnapshot(
int id) = 0;
 
   91    int getAtomStorageLayout() { 
return atomStorageLayout_; }
 
   92    int getRigidBodyStorageLayout() { 
return rigidBodyStorageLayout_; }
 
   93    int getCutoffGroupStorageLayout() { 
return cutoffGroupStorageLayout_; }
 
   96    int atomStorageLayout_;
 
   97    int rigidBodyStorageLayout_;
 
   98    int cutoffGroupStorageLayout_;
 
  101    SnapshotManager(
int atomStorageLayout, 
int rigidBodyStorageLayout,
 
  102                    int cutoffGroupStorageLayout) :
 
  103        atomStorageLayout_(atomStorageLayout),
 
  104        rigidBodyStorageLayout_(rigidBodyStorageLayout),
 
  105        cutoffGroupStorageLayout_(cutoffGroupStorageLayout),
 
  106        currentSnapshot_(NULL), previousSnapshot_(NULL) {}
 
  108    Snapshot* currentSnapshot_;
 
  109    Snapshot* previousSnapshot_;