PetaVision  Alpha
PV::CheckpointEntryPvp< T > Class Template Referenceabstract
Inheritance diagram for PV::CheckpointEntryPvp< T >:
PV::CheckpointEntry PV::CheckpointEntryPvpBuffer< T >

Public Member Functions

 CheckpointEntryPvp (std::string const &name, MPIBlock const *mpiBlock, PVLayerLoc const *layerLoc, bool extended)
 
 CheckpointEntryPvp (std::string const &objName, std::string const &dataName, MPIBlock const *mpiBlock, PVLayerLoc const *layerLoc, bool extended)
 
std::string const & getName () const
 
virtual void read (std::string const &checkpointDirectory, double *simTimePtr) const override
 
virtual void remove (std::string const &checkpointDirectory) const override
 
virtual void write (std::string const &checkpointDirectory, double simTime, bool verifyWritesFlag) const override
 

Protected Member Functions

virtual void applyTimestamps (std::vector< double > const &timestamps) const
 
virtual T * calcBatchElementStart (int batchElement) const =0
 
virtual int calcMPIBatchIndex (int frame) const =0
 
void deleteFile (std::string const &checkpointDirectory, std::string const &extension) const
 
std::string generatePath (std::string const &checkpointDirectory, std::string const &extension) const
 
T * getDataPointer () const
 
PVLayerLoc const * getLayerLoc () const
 
MPIBlock const * getMPIBlock () const
 
virtual int getNumFrames () const =0
 
int getXMargins () const
 
int getYMargins () const
 
void initialize (PVLayerLoc const *layerLoc, bool extended)
 

Private Attributes

T * mDataPointer = nullptr
 
PVLayerLoc const * mLayerLoc = nullptr
 
int mXMargins = 0
 
int mYMargins = 0
 

Detailed Description

template<typename T>
class PV::CheckpointEntryPvp< T >

Definition at line 19 of file CheckpointEntryPvp.hpp.


The documentation for this class was generated from the following file: