Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

dsLP.h

Go to the documentation of this file.
00001 /* 
00002  *
00003  * $Id: dsLP.h,v 1.1 2003/08/27 07:21:59 dsamersoff Exp $
00004  */
00005 #ifndef dsLP_h
00006 #define dsLP_h
00007 
00008 #include <sys/ioctl.h>
00009 #include <sys/types.h>
00010 
00011 #include <fcntl.h>
00012 
00013 #include <dsSocket.h>
00014 
00015 DECLARE_EXCEPTION2(dsLP, dsSocket);
00016 
00017 class dsLP : public dsSocketBase
00018 {
00019 public :    
00020         dsLP(char *dev, const int boudrate = 0, const int flags = 0);
00021         virtual ~dsLP();
00022 
00023         virtual void Connect(const char * dev, const int baudrate = 0, 
00024                              const int flags = 0 );
00025 
00026         virtual void Close();
00027 
00028   virtual  size_t __read(char *buf,   size_t bytes);
00029   virtual  size_t __write(char *ptr,  size_t bytes);
00030 };
00031 
00032 #endif          

Generated on Mon May 16 18:26:57 2005 for libdms4 by doxygen1.3-rc2