ost::ttystream(3) | Library Functions Manual | ost::ttystream(3) |
NAME¶
ost::ttystream - A more natural C++ 'ttystream' class for use by non-threaded applications.SYNOPSIS¶
#include <serial.h> Inherits ost::TTYStream.Public Member Functions¶
ttystream ()
Additional Inherited Members¶
Detailed Description¶
A more natural C++ 'ttystream' class for use by non-threaded applications.David Sugar dyfet@ostel.com C++ 'fstream'
style ttystream class.
Constructor & Destructor Documentation¶
ost::ttystream::ttystream ()¶
Construct an unopened 'ttystream' object.ost::ttystream::ttystream (const char *name)¶
Construct and 'open' a tty stream object. A filename in the form 'device:options[,options]' may be used to pass device options as part of the open. Parameters:name of file and serial options.
Member Function Documentation¶
void ost::ttystream::close (void)¶
Close method for a tty stream. Reimplemented from ost::Serial.void ost::ttystream::open (const char *name)¶
Open method for a tty stream. Parameters:name filename to open.
bool ost::ttystream::operator! (void) [inline]¶
Test to see if stream is opened.Author¶
Generated automatically by Doxygen for GNU CommonC++ from the source code.Sat Jun 23 2012 | GNU CommonC++ |