|
ICG 2
Electric Boogaloo
|
#include <J_CheckpointAgent.hpp>
Public Member Functions | |
| J_CheckpointAgent (DataTypeInator *inator) | |
| virtual | ~J_CheckpointAgent () |
| virtual int | dump (std::ostream &checkpoint_out, std::vector< AllocInfo * > allocations_to_checkpoint) override |
| Dump a checkpoint to the given string. More... | |
| virtual std::vector< AllocInfo * > | restore (std::istream &checkpoint_in, std::vector< AllocInfo * > allocations_to_restore) override |
| Restore a checkpoint from an input stream. More... | |
| bool | writeDeclaration (std::ostream &checkpoint_out, const AllocInfo *alloc) |
| bool | writeAssignment (std::ostream &checkpoint_out, const AllocInfo *alloc, const std::vector< AllocInfo * > &additional_search_allocs) |
| AllocInfo * | restoreDeclaration (std::string declaration) |
| bool | restoreAssignment (std::string assignment_string, const std::vector< AllocInfo * > &additional_search_allocs) |
Public Member Functions inherited from CheckpointAgentBase | |
| virtual | ~CheckpointAgentBase () |
Base Class for dumping and restoring a checkpoint.
| J_CheckpointAgent::J_CheckpointAgent | ( | DataTypeInator * | inator | ) |
|
inlinevirtual |
|
overridevirtual |
Dump a checkpoint to the given string.
| checkpoint_out | stream to output to |
| allocations_to_checkpoint | Allocations to checkpoint |
Implements CheckpointAgentBase.
|
overridevirtual |
Restore a checkpoint from an input stream.
| checkpoint_in | stream to read from |
| allocations_to_restore | Extern allocs to work with |
Implements CheckpointAgentBase.
| bool J_CheckpointAgent::restoreAssignment | ( | std::string | assignment_string, |
| const std::vector< AllocInfo * > & | additional_search_allocs | ||
| ) |
| AllocInfo * J_CheckpointAgent::restoreDeclaration | ( | std::string | declaration | ) |
| bool J_CheckpointAgent::writeAssignment | ( | std::ostream & | checkpoint_out, |
| const AllocInfo * | alloc, | ||
| const std::vector< AllocInfo * > & | additional_search_allocs | ||
| ) |
| bool J_CheckpointAgent::writeDeclaration | ( | std::ostream & | checkpoint_out, |
| const AllocInfo * | alloc | ||
| ) |