ost::ttystream - A more natural C++ 'ttystream' class for use by non-threaded applications.
Contents
Constructor & Destructor Documentation
ost::ttystream::ttystream()
Construct an unopened 'ttystream' object.
ost::ttystream::ttystream(constchar*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.
Parametersname of file and serial options.
Detailed Description
A more natural C++ 'ttystream' class for use by non-threaded applications.
This class behaves a lot more like fstream and similar classes.
Author
David Sugar dyfet@ostel.com
C++ 'fstream' style ttystream class.
Member Function Documentation
voidost::ttystream::close(void)
Close method for a tty stream.
voidost::ttystream::open(constchar*name)
Open method for a tty stream.
Parametersname filename to open.
boolost::ttystream::operator!()[inline]
Test to see if stream is opened.
Name
ost::ttystream - A more natural C++ 'ttystream' class for use by non-threaded applications.
Synopsis
#include <serial.h>
Inherits ost::TTYStream.
PublicMemberFunctionsttystream ()
Construct an unopened 'ttystream' object.
ttystream (const char *name)
Construct and 'open' a tty stream object.
void open (const char *name)
Open method for a tty stream.
void close (void)
Close method for a tty stream.
bool operator! ()
Test to see if stream is opened.
AdditionalInheritedMembers