class ttystream

C++ "fstream" style ttystream class. More...

Full nameost::ttystream
Definition#include <serial.h>
Inheritsost::TTYStream [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


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.

 ttystream ()

ttystream

Construct an unopened "ttystream" object.

 ttystream (const char *name)

ttystream

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:
nameof file and serial options.

void  open (const char *name)

open

Open method for a tty stream.

Parameters:
filenameto open.

void  close (void)

close

Close method for a tty stream.

inline bool  operator! ()

operator!

Test to see if stream is opened.