|
FEAT 3
Finite Element Analysis Toolbox
|
Checkpoint interface class. More...
#include <checkpoint_control.hpp>
Public Member Functions | |
| virtual std::uint64_t | get_checkpoint_size (LAFEM::SerialConfig &config)=0 |
| Calculate size. More... | |
| virtual void | restore_from_checkpoint_data (std::vector< char > &data)=0 |
| Extract object from checkpoint. More... | |
| virtual std::uint64_t | set_checkpoint_data (std::vector< char > &data, LAFEM::SerialConfig &config)=0 |
| Collect checkpoint data from object. More... | |
Checkpoint interface class.
This abstract class provides the necessary interface for all checkpointable objects.
Definition at line 32 of file checkpoint_control.hpp.
|
inlineprotectedvirtual |
Definition at line 66 of file checkpoint_control.hpp.
|
pure virtual |
Calculate size.
Calculate size of complete object as it is stored in the checkpoint
Implemented in FEAT::Control::CheckpointableWrapper< Object_ >.
|
pure virtual |
Extract object from checkpoint.
Restores complete object with all its contents from checkpoint data
| [out] | data | object as bytestrem |
Implemented in FEAT::Control::CheckpointableWrapper< Object_ >.
|
pure virtual |
Collect checkpoint data from object.
Adds the condensed complete object with all its contents to the end of the checkpoint buffer
| [out] | data | object as bytestream |
Implemented in FEAT::Control::CheckpointableWrapper< Object_ >.