diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-01-01 08:00:34 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-01-01 08:00:34 +0000 |
commit | 437eea6fa08e931864f89be91d14a816f69075c7 (patch) | |
tree | b8c1fd723fdcd61c3855d3a3a21a9cd45a268219 /ace/TTY_IO.h | |
parent | ea0d28240863caf437a18071bfd03e7b146c5ade (diff) | |
download | ATCD-unlabeled-4.2.2.tar.gz |
This commit was manufactured by cvs2svn to create branchunlabeled-4.2.2
'unlabeled-4.2.2'.
Diffstat (limited to 'ace/TTY_IO.h')
-rw-r--r-- | ace/TTY_IO.h | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/ace/TTY_IO.h b/ace/TTY_IO.h deleted file mode 100644 index b4c6268572c..00000000000 --- a/ace/TTY_IO.h +++ /dev/null @@ -1,65 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// TTY_IO.h -// -// = DESCRIPTION -// -// = AUTHOR -// Douglas C. Schmidt -// -// ============================================================================ - -#if !defined (ACE_TTY_H) -#define ACE_TTY_H - -#include "ace/OS.h" -#include "ace/DEV_Addr.h" -#include "ace/DEV_Connector.h" -#include "ace/DEV_IO.h" - -class ACE_Export ACE_TTY_IO : public ACE_DEV_IO - // = TITLE - // Class definitions for platform specific TTY features. - // - // = DESCRIPTION - // This class represents an example interface for a specific - // device (a serial line) It extends the capability of the - // underlying DEV_IO class by adding a control method that takes - // a special structure (Serial_Params) as argument to allow a - // comfortable user interface (away from that annoying termios - // structure, which is very specific to UNIX). -{ -public: - enum Control_Mode - { - SETPARAMS, // Set control parameters. - GETPARAMS // Get control parameters. - }; - - struct Serial_Params - { - int baudrate; - int parityenb; - char *paritymode; - int databits; - int stopbits; - int readtimeoutmsec; - int ctsenb; - int rcvenb; - }; - - int control (Control_Mode cmd, Serial_Params * arg) const; - // Interface for reading/writing serial device parameters. - - operator ACE_DEV_IO &(); - // This is necessary to pass ACE_TTY_IO as parameter to DEV_Connector. -}; - -#endif /* ACE_TTY_H */ |