ICG 2
Electric Boogaloo
NewCheckpointAgentBase.hpp
Go to the documentation of this file.
1 #ifndef CHECKPOINT_AGENT_BASE_HH
2 #define CHECKPOINT_AGENT_BASE_HH
3 
4 #include <stdio.h>
5 #include <iostream>
6 #include <vector>
7 
9 
14 
15  public:
16 
19  virtual ~CheckpointAgentBase() {};
20 
24  virtual int dump ( std::ostream& checkpoint_out, std::vector<AllocInfo *> allocations_to_checkpoint) = 0;
25 
29  virtual std::vector<AllocInfo *> restore( std::istream& checkpoint_in, std::vector<AllocInfo *> allocations_to_restore) = 0;
30 
31 };
32 #endif
Definition: NewCheckpointAgentBase.hpp:13
virtual int dump(std::ostream &checkpoint_out, std::vector< AllocInfo * > allocations_to_checkpoint)=0
virtual ~CheckpointAgentBase()
Definition: NewCheckpointAgentBase.hpp:19
virtual std::vector< AllocInfo * > restore(std::istream &checkpoint_in, std::vector< AllocInfo * > allocations_to_restore)=0