8 #ifndef CHECKPOINTENTRYDATASTORE_HPP_ 9 #define CHECKPOINTENTRYDATASTORE_HPP_ 11 #include "checkpointing/CheckpointEntryPvp.hpp" 12 #include "columns/DataStore.hpp" 20 std::string
const &name,
26 std::string
const &objName,
27 std::string
const &dataName,
32 mDataStore(dataStore) {}
34 virtual void read(std::string
const &checkpointDirectory,
double *simTimePtr)
const override;
37 virtual int getNumFrames()
const override;
38 virtual float *calcBatchElementStart(
int batchElement)
const override;
39 virtual int calcMPIBatchIndex(
int frame)
const override;
40 virtual void applyTimestamps(std::vector<double>
const ×tamps)
const override {
41 setLastUpdateTimes(timestamps);
44 DataStore *getDataStore()
const {
return mDataStore; }
47 void setLastUpdateTimes(std::vector<double>
const ×tamps)
const;
55 #endif // CHECKPOINTENTRYDATASTORE_HPP_