Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

util::io::RS232 Class Reference

#include <RS232.h>

Inheritance diagram for util::io::RS232:

util::io::GeneralFile List of all members.

Detailed Description

A class for accessing the RS232 serial port.

The port settings will be temporarily fixed at 9600, 8N1, XON/XOFF.

Public Methods

 RS232 (const char *device="/dev/ttyS0", int type=O_RDWR)
 RS232 (const char *device="/dev/ttyb", int type=O_RDWR)
virtual ~RS232 ()
void open (void) throw (IOException&)
 Open a file.

const char * getDeviceName (void)

Member Function Documentation

void util::io::RS232::open void    throw (IOException&) [virtual]

Open a file.

IOException  if the file cannot be opened

Reimplemented from util::io::GeneralFile.

The documentation for this class was generated from the following files:
Documentation generated on 11.09.2003 with Doxygen.
The documentation is copyrighted material.
Copyright © Topi Mäenpää 2003. All rights reserved.