1 #ifndef __CHECKPOINTABLEFILESTREAM_HPP__     2 #define __CHECKPOINTABLEFILESTREAM_HPP__     4 #include "CheckpointerDataInterface.hpp"     5 #include "io/FileStream.hpp"    34          string const &objName,
    46          string const &objName);
    47    virtual Response::Status respond(std::shared_ptr<BaseMessage const> message) 
override;
    48    virtual void write(
void const *data, 
long length) 
override;
    49    virtual void read(
void *data, 
long length) 
override;
    50    virtual void setOutPos(
long pos, 
bool fromBeginning) 
override;
    51    virtual void setInPos(
long pos, 
bool fromBeginning) 
override;
    58          string const &objName,
    60    void setDescription();
    61    virtual Response::Status registerData(
Checkpointer *checkpointer) 
override;
    65    long mFileReadPos  = 0;
    66    long mFileWritePos = 0;
 CheckpointableFileStream(string const &path, bool newFile, Checkpointer *checkpointer, string const &objName, bool verifyWrites)