Public Member Functions | Public Attributes | List of all members
sawyer::roch_driver Class Reference

#include <serial.h>

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

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 Member Functions inherited from sawyer::base_data
void clear ()
 

Public Attributes

base_data rawData_
 
- Public Attributes inherited from sawyer::base_data
struct sawyer::base_data::RawData rawData
 

Additional Inherited Members

- Static Public Attributes inherited from sawyer::base_data
static const size_t MAX_MSG_LENGTH = 256
 

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.

base_data::RawData sawyer::roch_driver::getGpInputData ( ) const
inline

Definition at line 92 of file serial.h.

roch_driver& sawyer::roch_driver::instance ( )
inline

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

base_data sawyer::roch_driver::rawData_

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 , Chen
autogenerated on Mon Jun 10 2019 14:41:14