Public Member Functions | Public Attributes
sawyer::roch_driver Class Reference

#include <serial.h>

Inheritance diagram for sawyer::roch_driver:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int CloseSerial (void *handle)
base_data::RawData getGpInputData () const
roch_driverinstance ()
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_

Detailed Description

Definition at line 70 of file serial.h.


Member Function Documentation

int sawyer::roch_driver::CloseSerial ( void *  handle)

Definition at line 165 of file linux_serial.cpp.

Definition at line 92 of file serial.h.

roch_driver singleton instance accessor.

Returns:
The roch_driver singleton instance.

Definition at line 78 of file serial.h.

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.


Member Data Documentation

Definition at line 94 of file serial.h.


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


roch_base
Author(s): Mike Purvis , Paul Bovbel , Carl
autogenerated on Sat Jun 8 2019 20:32:33