|
Public Methods |
| dsLP (char *dev, const int boudrate=0, const int flags=0) |
virtual | ~dsLP () |
virtual void | Connect (const char *dev, const int baudrate=0, const int flags=0) |
virtual void | Close () |
virtual size_t | __read (char *buf, size_t bytes) |
virtual size_t | __write (char *ptr, size_t bytes) |
int | fd () const |
size_t | Read (char *buffer, size_t bytes, int sec=10, int usec=0) |
size_t | Read (std::ostream &os, int sec=10, int usec=0) |
size_t | Write (const char *buffer, size_t bytes, int sec=10, int usec=0) |
size_t | Write (std::istream &is, int sec=10, int usec=0) |
size_t | Write (const char *str, int sec=10, int usec=0) |
size_t | Printf (const char *format,...) |
size_t | ReadLine (std::ostream &os, int sec=10) |
size_t | ReadLine (char *buf, size_t size, int sec=10) |
size_t | WriteLine (std::istream &is, int sec=10) |
size_t | WriteLine (const char *str, int sec=10) |
Protected Methods |
virtual size_t | __write (const char *ptr, size_t bytes)=0 |
Protected Attributes |
int | _sock |