Asyncronous serial class for internal usage Used internally (pimpl) More...
#include <AsyncSerial.h>

Public Member Functions | |
| AsyncSerialImpl () | |
Public Attributes | |
| boost::thread | backgroundThread |
| Thread that runs read/write operations. More... | |
| boost::function< void(const char *, size_t) > | callback |
| Read complete callback. More... | |
| bool | error |
| Error flag. More... | |
| boost::mutex | errorMutex |
| Mutex for access to error. More... | |
| boost::asio::io_service | io |
| Io service object. More... | |
| bool | open |
| True if port open. More... | |
| boost::asio::serial_port | port |
| Serial port object. More... | |
| char | readBuffer [serialcom::read_buffer_size] |
| data being read More... | |
| boost::shared_array< char > | writeBuffer |
| Data being written. More... | |
| size_t | writeBufferSize |
| Size of writeBuffer. More... | |
| std::vector< char > | writeQueue |
| Data are queued here before they go in writeBuffer. More... | |
| boost::mutex | writeQueueMutex |
| Mutex for access to writeQueue. More... | |
Asyncronous serial class for internal usage Used internally (pimpl)
Definition at line 66 of file AsyncSerial.h.
|
inline |
Definition at line 69 of file AsyncSerial.h.
| boost::thread AsyncSerialImpl::backgroundThread |
Thread that runs read/write operations.
Definition at line 81 of file AsyncSerial.h.
| boost::function< void ( const char *, size_t ) > AsyncSerialImpl::callback |
Read complete callback.
Definition at line 100 of file AsyncSerial.h.
| bool AsyncSerialImpl::error |
Error flag.
Definition at line 84 of file AsyncSerial.h.
|
mutable |
Mutex for access to error.
Definition at line 86 of file AsyncSerial.h.
| boost::asio::io_service AsyncSerialImpl::io |
Io service object.
Definition at line 78 of file AsyncSerial.h.
| bool AsyncSerialImpl::open |
True if port open.
Definition at line 82 of file AsyncSerial.h.
| boost::asio::serial_port AsyncSerialImpl::port |
Serial port object.
Definition at line 80 of file AsyncSerial.h.
| char AsyncSerialImpl::readBuffer[serialcom::read_buffer_size] |
data being read
Definition at line 97 of file AsyncSerial.h.
| boost::shared_array<char> AsyncSerialImpl::writeBuffer |
Data being written.
Definition at line 91 of file AsyncSerial.h.
| size_t AsyncSerialImpl::writeBufferSize |
Size of writeBuffer.
Definition at line 93 of file AsyncSerial.h.
| std::vector<char> AsyncSerialImpl::writeQueue |
Data are queued here before they go in writeBuffer.
Definition at line 89 of file AsyncSerial.h.
| boost::mutex AsyncSerialImpl::writeQueueMutex |
Mutex for access to writeQueue.
Definition at line 95 of file AsyncSerial.h.