35 #ifndef ANA_PROCESSOR_READER_H 36 #define ANA_PROCESSOR_READER_H 76 void attach( std::istream & is );
99 std::istream *_history;
bool askedToClose() const
Reader is asked to be closed (by the command just being read)
void read()
Replay the logged commands.
virtual ~CommandReader()
Create a CommandReader to read commands from.
void close()
Detach stream (destroys it if owned)
CommandReader replays history files.
bool askedToRemovePipeFile() const
Reader is asked to remove the named pipe file after closing.
void readOne()
Replay next command.
void attach(std::istream &is)
Attach to an open stream.
CommandReader(const std::string &filename, carto::MutexRcPtr< CommandContext > &context)
Create a CommandReader to read commands from.