#include <serial.h>
Definition at line 49 of file serial.h.
create::Serial::Serial |
( |
boost::shared_ptr< Data > |
data | ) |
|
create::Serial::~Serial |
( |
| ) |
|
bool create::Serial::connect |
( |
const std::string & |
port, |
|
|
const int & |
baud = 115200 , |
|
|
boost::function< void()> |
cb = 0 |
|
) |
| |
bool create::Serial::connected |
( |
| ) |
const |
|
inline |
void create::Serial::disconnect |
( |
| ) |
|
uint64_t create::Serial::getNumCorruptPackets |
( |
| ) |
const |
uint64_t create::Serial::getTotalPackets |
( |
| ) |
const |
void create::Serial::notifyDataReady |
( |
| ) |
|
|
protected |
void create::Serial::onData |
( |
const boost::system::error_code & |
e, |
|
|
const std::size_t & |
size |
|
) |
| |
|
private |
virtual void create::Serial::processByte |
( |
uint8_t |
byteRead | ) |
|
|
protectedpure virtual |
bool create::Serial::send |
( |
const uint8_t * |
bytes, |
|
|
const uint32_t |
numBytes |
|
) |
| |
bool create::Serial::sendOpcode |
( |
const Opcode & |
code | ) |
|
bool create::Serial::startReading |
( |
| ) |
|
|
private |
virtual bool create::Serial::startSensorStream |
( |
| ) |
|
|
protectedpure virtual |
void create::Serial::stopReading |
( |
| ) |
|
|
private |
uint8_t create::Serial::byteRead |
|
private |
boost::function<void()> create::Serial::callback |
|
private |
uint64_t create::Serial::corruptPackets |
|
protected |
boost::shared_ptr<Data> create::Serial::data |
|
protected |
bool create::Serial::dataReady |
|
private |
boost::condition_variable create::Serial::dataReadyCond |
|
private |
boost::mutex create::Serial::dataReadyMut |
|
private |
bool create::Serial::firstRead |
|
private |
boost::asio::io_service create::Serial::io |
|
protected |
boost::thread create::Serial::ioThread |
|
private |
bool create::Serial::isReading |
|
private |
boost::asio::serial_port create::Serial::port |
|
protected |
uint64_t create::Serial::totalPackets |
|
protected |
The documentation for this class was generated from the following files: