ost_ttystream(3)

ost_ttystream3

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

Usage

#include <serial.h>

Inherits ost::TTYStream.

Public Member Functions

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.

Additional Inherited Members

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 [email protected]

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.

void ost::ttystream::open (const char * name)

Open method for a tty stream.

Parameters

name filename to open.

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

Test to see if stream is opened.

Releases

8 releases since Debian 4.0 (Etch); the text changed 7 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11

Author

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

From libcommoncpp2-doc 1.8.1-10 in Debian 11 (Bullseye). Parsed by carta from the page's man source.