CommandReader replays history files.
More...
#include <anatomist/processor/Reader.h>
CommandReader replays history files.
Definition at line 57 of file Reader.h.
◆ CommandReader() [1/2]
Create a CommandReader to read commands from.
- Parameters
-
filename | name of the file to read commands from |
◆ CommandReader() [2/2]
Creates a command reader not bound to a file descriptor.
◆ ~CommandReader()
virtual anatomist::CommandReader::~CommandReader |
( |
| ) |
|
|
virtual |
Create a CommandReader to read commands from.
- Parameters
-
filename | name of the file to read commands from |
◆ askedToClose()
bool anatomist::CommandReader::askedToClose |
( |
| ) |
const |
|
inline |
Reader is asked to be closed (by the command just being read)
Definition at line 80 of file Reader.h.
◆ askedToRemovePipeFile()
bool anatomist::CommandReader::askedToRemovePipeFile |
( |
| ) |
const |
|
inline |
Reader is asked to remove the named pipe file after closing.
Definition at line 82 of file Reader.h.
◆ attach()
void anatomist::CommandReader::attach |
( |
std::istream & |
is | ) |
|
Attach to an open stream.
◆ close()
void anatomist::CommandReader::close |
( |
| ) |
|
Detach stream (destroys it if owned)
◆ read()
void anatomist::CommandReader::read |
( |
| ) |
|
Replay the logged commands.
◆ readOne()
void anatomist::CommandReader::readOne |
( |
| ) |
|
The documentation for this class was generated from the following file: