#include <serial.h>
Public Member Functions | |
int | CloseSerial (void *handle) |
base_data::RawData | getGpInputData () const |
roch_driver & | instance () |
int | OpenSerial (void **handle, const char *port_name) |
int | ReadData (void *handle, char *buffer, int length) |
int | SetupSerial (void *handle) |
int | WriteData (void *handle, const char *buffer, int length) |
Public Attributes | |
base_data | rawData_ |
int sawyer::roch_driver::CloseSerial | ( | void * | handle | ) |
Definition at line 165 of file linux_serial.cpp.
base_data::RawData sawyer::roch_driver::getGpInputData | ( | ) | const [inline] |
roch_driver& sawyer::roch_driver::instance | ( | ) | [inline] |
roch_driver singleton instance accessor.
int sawyer::roch_driver::OpenSerial | ( | void ** | handle, |
const char * | port_name | ||
) |
Definition at line 61 of file linux_serial.cpp.
int sawyer::roch_driver::ReadData | ( | void * | handle, |
char * | buffer, | ||
int | length | ||
) |
Definition at line 146 of file linux_serial.cpp.
int sawyer::roch_driver::SetupSerial | ( | void * | handle | ) |
Definition at line 86 of file linux_serial.cpp.
int sawyer::roch_driver::WriteData | ( | void * | handle, |
const char * | buffer, | ||
int | length | ||
) |
Definition at line 123 of file linux_serial.cpp.