Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

ttymem.hh

Go to the documentation of this file.
00001 
00002 #ifndef TTYMEM_HH
00003 #define TTYMEM_HH
00004 
00005 #include "ttyintf.hh"
00006 #include "cms.hh"
00007 
00008 
00009 class TTYMEM:public CMS
00010 {
00011 public:
00012 
00013 public:
00014   TTYMEM (char *bufline, char *procline);
00015     virtual ~ TTYMEM ();
00016 
00017   /* Overloaded CMS functions. */
00018   void verify_bufname ();
00019   CMS_STATUS clear ();
00020   int check_if_read ();
00021   CMS_STATUS read ();
00022   CMS_STATUS blocking_read (double);
00023   CMS_STATUS peek ();
00024   CMS_STATUS write (void *data);
00025   CMS_STATUS write_if_read (void *data);
00026   void reconnect ();
00027   void disconnect ();
00028 
00029 protected:
00030     RCS_SERIAL_PORT_HANDLE handle;
00031   char ttyDevName[80];
00032   rcs_serial_port_setting settings;
00033   char temp_buffer[0x2000];
00034   int serial_number;
00035   int returned_serial_number;
00036   int message_size;
00037   int id;
00038 };
00039 
00040 #endif

Generated on Sun Dec 2 15:56:53 2001 for rcslib by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001