Public Member Functions | Protected Attributes
EmbeddedLinuxHardware Class Reference

#include <embedded_linux_hardware.h>

List of all members.

Public Member Functions

 EmbeddedLinuxHardware (const char *pn, long baud=57600)
 EmbeddedLinuxHardware ()
int getBaud ()
void init ()
void init (const 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 embedded_linux_hardware.h.


Constructor & Destructor Documentation

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

Definition at line 51 of file embedded_linux_hardware.h.

Definition at line 57 of file embedded_linux_hardware.h.


Member Function Documentation

Definition at line 73 of file embedded_linux_hardware.h.

void EmbeddedLinuxHardware::init ( ) [inline]

Definition at line 78 of file embedded_linux_hardware.h.

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

Definition at line 90 of file embedded_linux_hardware.h.

int EmbeddedLinuxHardware::read ( ) [inline]

Definition at line 102 of file embedded_linux_hardware.h.

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

Definition at line 68 of file embedded_linux_hardware.h.

unsigned long EmbeddedLinuxHardware::time ( ) [inline]

Definition at line 113 of file embedded_linux_hardware.h.

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

Definition at line 108 of file embedded_linux_hardware.h.


Member Data Documentation

long EmbeddedLinuxHardware::baud_ [protected]

Definition at line 130 of file embedded_linux_hardware.h.

struct timespec start EmbeddedLinuxHardware::end [protected]

Definition at line 131 of file embedded_linux_hardware.h.

int EmbeddedLinuxHardware::fd [protected]

Definition at line 128 of file embedded_linux_hardware.h.

char EmbeddedLinuxHardware::portName[30] [protected]

Definition at line 129 of file embedded_linux_hardware.h.


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


rosserial_embeddedlinux
Author(s): Paul Bouchier
autogenerated on Thu Jun 6 2019 19:56:29