Public Member Functions | Private Attributes
WithRobot::Platform::SerialPort Class Reference

#include <myahrs_plus.hpp>

List of all members.

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

Detailed Description

Definition at line 380 of file myahrs_plus.hpp.


Constructor & Destructor Documentation

WithRobot::Platform::SerialPort::SerialPort ( const char *  port = "",
unsigned int  brate = 115200 
) [inline]

Definition at line 387 of file myahrs_plus.hpp.

Definition at line 393 of file myahrs_plus.hpp.


Member Function Documentation

Definition at line 439 of file myahrs_plus.hpp.

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.

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.


Member Data Documentation

Definition at line 384 of file myahrs_plus.hpp.

Definition at line 383 of file myahrs_plus.hpp.

Definition at line 382 of file myahrs_plus.hpp.


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


myahrs_driver
Author(s): Yoonseok Pyo
autogenerated on Sat Jun 8 2019 10:27:56