8 #ifndef CHECKPOINTERDATAINTERFACE_HPP_ 9 #define CHECKPOINTERDATAINTERFACE_HPP_ 11 #include "observerpattern/Observer.hpp" 13 #include "Checkpointer.hpp" 14 #include "checkpointing/CheckpointingMessages.hpp" 47 virtual Response::Status registerData(
Checkpointer *checkpointer);
49 virtual Response::Status respond(std::shared_ptr<BaseMessage const> message)
override;
51 virtual Response::Status readStateFromCheckpoint(
Checkpointer *checkpointer) {
52 return Response::NO_ACTION;
55 MPIBlock const *getMPIBlock() {
return mMPIBlock; }
60 Response::Status respondReadStateFromCheckpoint(
64 respondProcessCheckpointRead(std::shared_ptr<ProcessCheckpointReadMessage const> message);
66 respondPrepareCheckpointWrite(std::shared_ptr<PrepareCheckpointWriteMessage const> message);
68 virtual Response::Status processCheckpointRead() {
return Response::NO_ACTION; }
69 virtual Response::Status prepareCheckpointWrite() {
return Response::NO_ACTION; }
77 #endif // CHECKPOINTERDATAINTERFACE_HPP_