Async
1.4.0
|
A stream buffer class to stream characters to a PTY. More...
#include <AsyncPtyStreamBuf.h>
Public Member Functions | |
PtyStreamBuf (Pty *pty, std::size_t buf_size=256) | |
Default constructor. More... | |
~PtyStreamBuf (void) | |
Destructor. More... | |
Pty * | pty (void) const |
A_brief_member_function_description. More... | |
A stream buffer class to stream characters to a PTY.
This class can be used to write data to a UNIX 98 PTY using the standard streaming interface. The typical usage pattern is to first create an instance of a Pty. Then an instance of this class is created, the stream buffer. Lastly a std::ostream can be created with the stream buffer as an argument to the constructor. The std::ostream can then be used as any other output stream.
Definition at line 124 of file AsyncPtyStreamBuf.h.
|
explicit |
Async::PtyStreamBuf::~PtyStreamBuf | ( | void | ) |
Destructor.
|
inline |
A_brief_member_function_description.
param1 | Description_of_param1 |
Definition at line 143 of file AsyncPtyStreamBuf.h.
References PtyStreamBuf().