Base class for output streams used by GtpEngine. More...
#include <GtpOutputStream.h>
Public Member Functions | |
GtpOutputStream (std::ostream &out) | |
virtual | ~GtpOutputStream () |
virtual void | Write (const std::string &line) |
virtual void | Flush () |
Private Attributes | |
std::ostream & | m_out |
Base class for output streams used by GtpEngine.
This implementation only forwards calls to std::ostream.
Definition at line 18 of file GtpOutputStream.h.
GtpOutputStream | ( | std::ostream & | out | ) |
Definition at line 10 of file GtpOutputStream.cpp.
~GtpOutputStream | ( | ) | [virtual] |
Definition at line 15 of file GtpOutputStream.cpp.
void Flush | ( | ) | [virtual] |
Definition at line 24 of file GtpOutputStream.cpp.
References m_out.
Referenced by GtpEngine::HandleCommand().
void Write | ( | const std::string & | line | ) | [virtual] |
Definition at line 19 of file GtpOutputStream.cpp.
References m_out.
Referenced by GtpEngine::HandleCommand().
std::ostream& m_out [private] |
Definition at line 30 of file GtpOutputStream.h.