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