35#ifndef ANA_PROCESSOR_WRITER_H
36#define ANA_PROCESSOR_WRITER_H
90 void open(
const std::string& filename);
141 std::ofstream _stream;
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.
A class can implement the Observer interface when it wants to be informed of changes in observable ob...