#include <Device.hpp>
Public Methods | |
Device (const char *name="/dev/con1", int flags=O_RDWR, bool openit=true) | |
virtual | ~Device () |
void | Open () |
void | Close () |
void | Read (void *buf, size_t sz) |
void | Write (const void *buf, size_t sz) |
char | ReadChar () |
void | WriteChar (char c) |
int | Select () |
void | Raw () |
void | Cooked () |
const char * | getName () const |
bool | isOpen () const |
bool | getMode () const |
int | getFlags () const |
Protected Attributes | |
int | fd |
bool | opened |
bool | mode |
int | oflag |
fd_set | rfd |
timeval | tv |
char | name [20] |
char | buffer [80] |
Private Methods | |
Device (const Device &) | |
const Device & | operator= (const Device &) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 100 of file Device.hpp. |
|
Definition at line 89 of file Device.hpp. |
|
Definition at line 92 of file Device.hpp. |
|
Definition at line 99 of file Device.hpp. |
|
Definition at line 94 of file Device.hpp. |
|
Definition at line 91 of file Device.hpp. |
|
Definition at line 96 of file Device.hpp. |
|
Definition at line 97 of file Device.hpp. |