Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
create::SerialQuery Class Reference

#include <serial_query.h>

Inheritance diagram for create::SerialQuery:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SerialQuery (boost::shared_ptr< Data > data)

Protected Member Functions

void processByte (uint8_t byteRead)
bool startSensorStream ()

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

Detailed Description

Definition at line 51 of file serial_query.h.


Constructor & Destructor Documentation

create::SerialQuery::SerialQuery ( boost::shared_ptr< Data data)

Definition at line 10 of file serial_query.cpp.


Member Function Documentation

void create::SerialQuery::flushInput ( ) [private]

Definition at line 45 of file serial_query.cpp.

void create::SerialQuery::processByte ( uint8_t  byteRead) [protected, virtual]

Implements create::Serial.

Definition at line 50 of file serial_query.cpp.

Definition at line 26 of file serial_query.cpp.

void create::SerialQuery::restartSensorStream ( const boost::system::error_code &  err) [private]

Definition at line 36 of file serial_query.cpp.

bool create::SerialQuery::startSensorStream ( ) [protected, virtual]

Implements create::Serial.

Definition at line 18 of file serial_query.cpp.


Member Data Documentation

const uint8_t create::SerialQuery::maxPacketID [private]

Definition at line 58 of file serial_query.h.

Definition at line 56 of file serial_query.h.

uint16_t create::SerialQuery::packetData [private]

Definition at line 57 of file serial_query.h.

uint8_t create::SerialQuery::packetID [private]

Definition at line 55 of file serial_query.h.

Definition at line 60 of file serial_query.h.

boost::asio::deadline_timer create::SerialQuery::streamRecoveryTimer [private]

Definition at line 54 of file serial_query.h.


The documentation for this class was generated from the following files:


libcreate
Author(s): Jacob Perron
autogenerated on Thu Jun 6 2019 21:02:06