#include <myahrs_plus.hpp>
Public Member Functions | |
| void | Close () |
| int | Flush () |
| bool | Open (const char *port, int brate) |
| bool | Open () |
| int | Read (unsigned char *buf, unsigned int buf_len) |
| SerialPort (const char *port="", unsigned int brate=115200) | |
| int | Write (unsigned char *data, unsigned int data_len) |
| ~SerialPort () | |
Private Attributes | |
| unsigned int | baudrate |
| int | port_fd |
| std::string | port_name |
Definition at line 380 of file myahrs_plus.hpp.
| WithRobot::Platform::SerialPort::SerialPort | ( | const char * | port = "", |
| unsigned int | brate = 115200 |
||
| ) | [inline] |
Definition at line 387 of file myahrs_plus.hpp.
| WithRobot::Platform::SerialPort::~SerialPort | ( | ) | [inline] |
Definition at line 393 of file myahrs_plus.hpp.
| void WithRobot::Platform::SerialPort::Close | ( | ) | [inline] |
Definition at line 439 of file myahrs_plus.hpp.
| int WithRobot::Platform::SerialPort::Flush | ( | ) | [inline] |
Definition at line 467 of file myahrs_plus.hpp.
| bool WithRobot::Platform::SerialPort::Open | ( | const char * | port, |
| int | brate | ||
| ) | [inline] |
Definition at line 397 of file myahrs_plus.hpp.
| bool WithRobot::Platform::SerialPort::Open | ( | ) | [inline] |
Definition at line 403 of file myahrs_plus.hpp.
| int WithRobot::Platform::SerialPort::Read | ( | unsigned char * | buf, |
| unsigned int | buf_len | ||
| ) | [inline] |
Definition at line 446 of file myahrs_plus.hpp.
| int WithRobot::Platform::SerialPort::Write | ( | unsigned char * | data, |
| unsigned int | data_len | ||
| ) | [inline] |
Definition at line 459 of file myahrs_plus.hpp.
unsigned int WithRobot::Platform::SerialPort::baudrate [private] |
Definition at line 384 of file myahrs_plus.hpp.
int WithRobot::Platform::SerialPort::port_fd [private] |
Definition at line 383 of file myahrs_plus.hpp.
std::string WithRobot::Platform::SerialPort::port_name [private] |
Definition at line 382 of file myahrs_plus.hpp.