#include <aero3_command.h>
Definition at line 15 of file aero3_command.h.
SerialCommunication::SerialCommunication |
( |
| ) |
|
SerialCommunication::~SerialCommunication |
( |
| ) |
|
void SerialCommunication::closePort |
( |
| ) |
|
void SerialCommunication::flushPort |
( |
| ) |
|
void SerialCommunication::onReceive |
( |
const boost::system::error_code & |
_error, |
|
|
size_t |
_bytes_transferred |
|
) |
| |
void SerialCommunication::onTimer |
( |
const boost::system::error_code & |
_error | ) |
|
bool SerialCommunication::openPort |
( |
std::string |
_port, |
|
|
unsigned int |
_baud_rate |
|
) |
| |
void SerialCommunication::readBuffer |
( |
std::vector< uint8_t > & |
_receive_data, |
|
|
uint8_t |
_size = 1 |
|
) |
| |
void SerialCommunication::readBufferAsync |
( |
uint8_t |
_size = 1 , |
|
|
uint16_t |
_timeout = 10 |
|
) |
| |
void SerialCommunication::writeAsync |
( |
std::vector< uint8_t > & |
_send_data | ) |
|
bool aero::controller::SerialCommunication::comm_err_ |
io_service aero::controller::SerialCommunication::io_ |
|
private |
bool aero::controller::SerialCommunication::is_canceled_ |
|
private |
std::string aero::controller::SerialCommunication::receive_buffer_ |
serial_port aero::controller::SerialCommunication::serial_ |
|
private |
boost::asio::streambuf aero::controller::SerialCommunication::stream_buffer_ |
|
private |
deadline_timer aero::controller::SerialCommunication::timer_ |
|
private |
The documentation for this class was generated from the following files: