#include <conexus/rwfiledescriptor.h>
Inheritance diagram for Conexus::RWFileDescriptor:

Public Types | |
| typedef enum Conexus::RWFileDescriptor::RWFileDescriptorState | RWFileDescriptorState |
| The serial port open modes. | |
| enum | RWFileDescriptorState { READ = LASTENDPOINTSTATE<<1, WRITE = LASTENDPOINTSTATE<<2, LASTRWFILEDESCRIPTORSTATE = WRITE } |
| The serial port open modes. More... | |
Public Member Functions | |
| RWFileDescriptor (unsigned long readwrite=READ|WRITE) | |
| virtual ssize_t | write (const void *data, size_t size, IOMethod block=BLOCK) throw (write_error) |
| Overrides parent's pure virtual method to provide for writing to the serial port. | |
| virtual Data | read (size_t s=0) throw (read_error) |
| Overrides parent's pure virtual method to provide for reading from the serial port. | |
| virtual void | change_state (long new_state) throw (state_error) |
| sigc::signal< void, bool > | signal_readable_changed () |
| sigc::signal< void, bool > | signal_writable_changed () |
| bool | is_readable () |
| bool | is_writable () |
| virtual const std::string & | object_type () |
Protected Member Functions | |
| void | set_state_readable (bool b) |
| void | set_state_writable (bool b) |
Protected Attributes | |
| sigc::signal< void, bool > | m_signal_readable_changed |
| sigc::signal< void, bool > | m_signal_writable_changed |
|
|
The serial port open modes. These have been selected so that masks may be created through the bitwise operators. |
|
|
The serial port open modes. These have been selected so that masks may be created through the bitwise operators. |
1.4.6