| PetaVision
    Alpha
    | 
#include <CheckpointerDataInterface.hpp>
 
  
 | Public Member Functions | |
| std::string const & | getDescription () const | 
| char const * | getDescription_c () const | 
| MPIBlock const * | getMPIBlock () | 
| virtual Response::Status | readStateFromCheckpoint (Checkpointer *checkpointer) | 
| virtual Response::Status | registerData (Checkpointer *checkpointer) | 
| virtual Response::Status | respond (std::shared_ptr< BaseMessage const > message) override | 
| Protected Member Functions | |
| virtual Response::Status | prepareCheckpointWrite () | 
| virtual Response::Status | processCheckpointRead () | 
| Response::Status | respondPrepareCheckpointWrite (std::shared_ptr< PrepareCheckpointWriteMessage const > message) | 
| Response::Status | respondProcessCheckpointRead (std::shared_ptr< ProcessCheckpointReadMessage const > message) | 
| Response::Status | respondReadStateFromCheckpoint (std::shared_ptr< ReadStateFromCheckpointMessage< Checkpointer > const > message) | 
| Response::Status | respondRegisterData (std::shared_ptr< RegisterDataMessage< Checkpointer > const > message) | 
| Protected Attributes | |
| std::string | description | 
| Private Attributes | |
| MPIBlock const * | mMPIBlock = nullptr | 
CheckpointerDataInterface provides a virtual method intended for interfacing with Checkpointer register methods. An object that does checkpointing should derive from CheckpointerDataInterface and override the following methods:
BaseObject derives from CheckpointerDataInterface, and calls registerData when it receives a RegisterDataMessage (which HyPerCol::run calls after AllocateDataMessage and before InitializeStateMessage); and calls readStateFromCheckpoint when it receives a ReadStateFromCheckpointMessage (which HyPerCol::run calls after InitializeStateMessage if CheckpointReadDirectory is not set).
Definition at line 45 of file CheckpointerDataInterface.hpp.