LibSerial 1.0.0
LibSerial provides a convenient, object oriented approach to accessing serial ports on POSIX systems.
Loading...
Searching...
No Matches
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 123]
 NLibSerial
 CAlreadyOpenException error thrown when the serial port is already open
 CNotOpenException error thrown when the serial port is not open
 COpenFailedException error thrown when the serial port could not be opened
 CReadTimeoutException error thrown when data could not be read from the serial port before the timeout had been exceeded
 CSerialPortSerialPort allows an object oriented approach to serial port communication. A serial port object can be created to allow opening the port with specified modes and settings. The SerialPort class also provides Get/Set methods to access the most commonly utilized parameters associated with serial port communication
 CImplementationSerialPort::Implementation is the SerialPort implementation class
 CSerialStreamSerialStream is a stream class for accessing serial ports on POSIX operating systems. A lot of the functionality of this class has been obtained by looking at the code of libserial package by Linas Vepstas, (linas.nosp@m.@lin.nosp@m.as.or.nosp@m.g) and the excellent document on serial programming by Michael R. Sweet. This document can be found at <ahref="http://www.easysw.com/~mike/serial/serial.html"> http://www.easysw.com/~mike/serial/serial.html. The libserial package can be found at <ahref="http://www.linas.org/serial/"> http://www.linas.org/serial/. This class allows one to set various parameters of a serial port and then access it like a simple fstream. (In fact, that is exactly what it does!) It sets the parameters of the serial port by maintaining a file descriptor for the port and uses the basic_fstream functions for the IO. We have not implemented any file locking yet but it will be added soon
 CSerialStreamBufSerialStreamBuf is the streambuf subclass used by SerialStream. This subclass takes care of opening the serial port file in the required modes and providing the corresponding file descriptor to SerialStream so that various parameters associated with the serial port can be set. Several features of this streambuf class resemble those of std::filebuf, however this class it not made a subclass of filebuf because we need access to the file descriptor associated with the serial port and the standard filebuf does not provide access to it
 CImplementationSerialStreamBuf::Implementation is the SerialStreamBuf implementation class