#include <serial_query.h>

Public Member Functions | |
| SerialQuery (boost::shared_ptr< Data > data) | |
Public Member Functions inherited from create::Serial | |
| bool | connect (const std::string &port, const int &baud=115200, boost::function< void()> cb=0) |
| bool | connected () const |
| void | disconnect () |
| uint64_t | getNumCorruptPackets () const |
| uint64_t | getTotalPackets () const |
| bool | send (const uint8_t *bytes, const uint32_t numBytes) |
| bool | sendOpcode (const Opcode &code) |
| Serial (boost::shared_ptr< Data > data) | |
| ~Serial () | |
Protected Member Functions | |
| void | processByte (uint8_t byteRead) |
| bool | startSensorStream () |
Protected Member Functions inherited from create::Serial | |
| void | notifyDataReady () |
Private Member Functions | |
| void | flushInput () |
| void | requestSensorData () |
| void | restartSensorStream (const boost::system::error_code &err) |
Private Attributes | |
| const uint8_t | maxPacketID |
| int8_t | packetByte |
| uint16_t | packetData |
| uint8_t | packetID |
| bool | started |
| boost::asio::deadline_timer | streamRecoveryTimer |
Additional Inherited Members | |
Protected Attributes inherited from create::Serial | |
| uint64_t | corruptPackets |
| boost::shared_ptr< Data > | data |
| boost::asio::io_service | io |
| boost::asio::serial_port | port |
| uint64_t | totalPackets |
Definition at line 51 of file serial_query.h.
| create::SerialQuery::SerialQuery | ( | boost::shared_ptr< Data > | data | ) |
Definition at line 10 of file serial_query.cpp.
|
private |
Definition at line 45 of file serial_query.cpp.
|
protectedvirtual |
Implements create::Serial.
Definition at line 50 of file serial_query.cpp.
|
private |
Definition at line 26 of file serial_query.cpp.
|
private |
Definition at line 36 of file serial_query.cpp.
|
protectedvirtual |
Implements create::Serial.
Definition at line 18 of file serial_query.cpp.
|
private |
Definition at line 58 of file serial_query.h.
|
private |
Definition at line 56 of file serial_query.h.
|
private |
Definition at line 57 of file serial_query.h.
|
private |
Definition at line 55 of file serial_query.h.
|
private |
Definition at line 60 of file serial_query.h.
|
private |
Definition at line 54 of file serial_query.h.