Public Member Functions | Protected Attributes
EmbeddedLinuxHardware Class Reference

#include <EmbeddedLinuxHardware.h>

List of all members.

Public Member Functions

 EmbeddedLinuxHardware (char *pn, long baud=57600)
 EmbeddedLinuxHardware ()
int getBaud ()
void init ()
void init (char *pName)
int read ()
void setBaud (long baud)
unsigned long time ()
void write (uint8_t *data, int length)

Protected Attributes

long baud_
struct timespec start end
int fd
char portName [30]

Detailed Description

Definition at line 48 of file EmbeddedLinuxHardware.h.


Constructor & Destructor Documentation

EmbeddedLinuxHardware::EmbeddedLinuxHardware ( char *  pn,
long  baud = 57600 
) [inline]

Definition at line 50 of file EmbeddedLinuxHardware.h.

Definition at line 54 of file EmbeddedLinuxHardware.h.


Member Function Documentation

Definition at line 69 of file EmbeddedLinuxHardware.h.

void EmbeddedLinuxHardware::init ( ) [inline]

Definition at line 71 of file EmbeddedLinuxHardware.h.

void EmbeddedLinuxHardware::init ( char *  pName) [inline]

Definition at line 81 of file EmbeddedLinuxHardware.h.

int EmbeddedLinuxHardware::read ( ) [inline]

Definition at line 91 of file EmbeddedLinuxHardware.h.

void EmbeddedLinuxHardware::setBaud ( long  baud) [inline]

Definition at line 65 of file EmbeddedLinuxHardware.h.

unsigned long EmbeddedLinuxHardware::time ( ) [inline]

Definition at line 109 of file EmbeddedLinuxHardware.h.

void EmbeddedLinuxHardware::write ( uint8_t *  data,
int  length 
) [inline]

Definition at line 100 of file EmbeddedLinuxHardware.h.


Member Data Documentation

long EmbeddedLinuxHardware::baud_ [protected]

Definition at line 126 of file EmbeddedLinuxHardware.h.

struct timespec start EmbeddedLinuxHardware::end [protected]

Definition at line 127 of file EmbeddedLinuxHardware.h.

int EmbeddedLinuxHardware::fd [protected]

Definition at line 124 of file EmbeddedLinuxHardware.h.

char EmbeddedLinuxHardware::portName[30] [protected]

Definition at line 125 of file EmbeddedLinuxHardware.h.


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


rosserial_embeddedlinux
Author(s): Paul Bouchier
autogenerated on Mon Oct 6 2014 07:10:50