Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

serial.h File Reference

#include <cc++/config.h>
#include <cc++/thread.h>
#include <iostream>

Go to the source code of this file.

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. More...

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. More...

class  SerialService
 The SerialService is a thead service object that is meant to service attached serial ports. Thread pool service for serial ports. More...

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. More...

class  ttystream
 A more natural C++ "ttystream" class for use by non-threaded applications. C++ "fstream" style ttystream class. More...

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. More...


Typedefs

typedef enum sioerror_t sioerror_t
typedef enum sioflow_t sioflow_t
typedef enum sioparity_t sioparity_t
typedef enum siopend_t siopend_t

Enumerations

enum  sioerror_t {
  SERIAL_SUCCESS = 0, SERIAL_OPEN_NOTTY, SERIAL_OPEN_FAILED, SERIAL_SPEED_INVALID,
  SERIAL_FLOW_INVALID, SERIAL_PARITY_INVALID, SERIAL_CHARSIZE_INVALID, SERIAL_STOPBITS_INVALID,
  SERIAL_OPTION_INVALID, SERIAL_RESOURCE_FAILURE, SERIAL_OUTPUT_ERROR, SERIAL_INPUT_ERROR,
  SERIAL_TIMEOUT_ERROR, SERIAL_EXTENDED_ERROR
}
enum  sioflow_t { SERIAL_FLOW_NONE, SERIAL_FLOW_SOFT, SERIAL_FLOW_HARD, SERIAL_FLOW_BOTH }
enum  sioparity_t { SERIAL_PARITY_NONE, SERIAL_PARITY_ODD, SERIAL_PARITY_EVEN }
enum  siopend_t { SERIAL_PENDING_INPUT, SERIAL_PENDING_OUTPUT, SERIAL_PENDING_ERROR }


Typedef Documentation

typedef enum sioerror_t sioerror_t
 

typedef enum sioflow_t sioflow_t
 

typedef enum sioparity_t sioparity_t
 

typedef enum siopend_t siopend_t
 


Enumeration Type Documentation

enum sioerror_t
 

Enumeration values:
SERIAL_SUCCESS  
SERIAL_OPEN_NOTTY  
SERIAL_OPEN_FAILED  
SERIAL_SPEED_INVALID  
SERIAL_FLOW_INVALID  
SERIAL_PARITY_INVALID  
SERIAL_CHARSIZE_INVALID  
SERIAL_STOPBITS_INVALID  
SERIAL_OPTION_INVALID  
SERIAL_RESOURCE_FAILURE  
SERIAL_OUTPUT_ERROR  
SERIAL_INPUT_ERROR  
SERIAL_TIMEOUT_ERROR  
SERIAL_EXTENDED_ERROR  

enum sioflow_t
 

Enumeration values:
SERIAL_FLOW_NONE  
SERIAL_FLOW_SOFT  
SERIAL_FLOW_HARD  
SERIAL_FLOW_BOTH  

enum sioparity_t
 

Enumeration values:
SERIAL_PARITY_NONE  
SERIAL_PARITY_ODD  
SERIAL_PARITY_EVEN  

enum siopend_t
 

Enumeration values:
SERIAL_PENDING_INPUT  
SERIAL_PENDING_OUTPUT  
SERIAL_PENDING_ERROR  


Generated at Tue Nov 20 12:34:33 2001 for CommonC++ by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001