ttystream(3cc)

ttystream3cc

A more natural c++ 'ttystream' class for use by non-threaded applications. c++ 'fstream' style ttystream class.

Usage

#include <serial.h>

Inherits TTYStream.

Public Methods

ttystream ()
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.

Detailed description

A more natural C++ 'ttystream' class for use by non-threaded applications. C++ 'fstream' style ttystream class.

This class behaves a lot more like fstream and similar classes.

Author: David Sugar <[email protected]>

Constructor & destructor documentation

ttystream::ttystream ()

Construct an unopened 'ttystream' object.

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 ttystream::close (void)

Close method for a tty stream.

Reimplemented from Serial.

void ttystream::open (const char * name)

Open method for a tty stream.

Parameters:

name

filename to open.

Reimplemented from Serial.

bool ttystream::operator! (void) [inline]

Test to see if stream is opened.

Author

Generated automatically by Doxygen for CommonC++ from the source code.

From libcommoncpp2-dev 1.0.13-5 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.