rutz::serial_port Class Reference

rutz::serial_port provides character-at-a-time access to a serial port. More...

#include <rutz/serialport.h>

List of all members.

Public Member Functions

 serial_port (const char *serial_device)
int get ()
int close ()
 Returns the exit status of closing its stream.
bool is_closed () const
int exit_status () const


Detailed Description

rutz::serial_port provides character-at-a-time access to a serial port.

Definition at line 46 of file serialport.h.


Member Function Documentation

int rutz::serial_port::get (  ) 

Returns the next character from the stream, or EOF (-1) if the stream is empty.

Definition at line 106 of file serialport.cc.


The documentation for this class was generated from the following files:

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:56:45 2008 by Doxygen version 1.5.5.