35 #ifndef ANA_PROCESSOR_WRITER_H
36 #define ANA_PROCESSOR_WRITER_H
90 void open(
const std::string& filename);
141 std::ofstream _stream;
CommandWriter is a helper class logging commands into a history file.
virtual ~CommandWriter()
does nothing
CommandWriter(const std::string &filename)
Create a CommandWriter to log commands.
CommandWriter()
Create a CommandWriter.
virtual void update(const Observable *observable, void *arg)
Log a command into the stream associated with the CommandWriter.
void open(const std::string &filename)
Attach to a file.
int operator!() const
Create a CommandWriter to log commands.
The abstract base class for commands.
This class can be subclassed to represent an object that the programmer wants to have observed.
A class can implement the Observer interface when it wants to be informed of changes in observable ob...
Serializer is a helper class for pointer serialization.