serial.h3cc
Serial i/o services.
Usage
#include <cc++/config.h>
#include <cc++/thread.h>
#include <iostream>
Compounds
class Serial
The Serial class is used as the base for all serial I/O services under APE. base class for all serial I/O services. class SerialPort
The serial port is an internal class which is attached to and then serviced by a specified SerialService thread. base class for thread pool serviced serial I/O. class SerialService
The SerialService is a thead service object that is meant to service attached serial ports. Thread pool service for serial ports. class TTYSession
The TTYSession aggragates a TTYStream and a Common C++ Thread which is assumed to be the execution context that will be used to perform actual I/O operations. This class is very anagolous to TCPSession. class ttystream
A more natural C++ 'ttystream' class for use by non-threaded applications. C++ 'fstream' style ttystream class. class TTYStream
TTY streams are used to represent serial connections that are fully 'streamable' objects using C++ stream classes and friends. streamable tty serial I/O class.
Defines
#define INVALID_HANDLE_VALUE (-1)
Typedefs
typedef int HANDLE
Variables
CCXX_CLASS_EXPORT Serial
CCXX_CLASS_EXPORT TTYStream
CCXX_CLASS_EXPORT ttystream
Detailed description
Serial I/O services.