Public Member Functions | Protected Attributes | List of all members
EmbeddedLinuxHardware Class Reference

#include <embedded_linux_hardware.h>

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)
 
void write (uint8_t *data, int length)
 

Protected Attributes

long baud_
 
int fd
 
char portName [30]
 

Detailed Description

Definition at line 59 of file embedded_linux_hardware.h.

Constructor & Destructor Documentation

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

Definition at line 62 of file embedded_linux_hardware.h.

EmbeddedLinuxHardware::EmbeddedLinuxHardware ( )
inline

Definition at line 68 of file embedded_linux_hardware.h.

Member Function Documentation

int EmbeddedLinuxHardware::getBaud ( )
inline

Definition at line 84 of file embedded_linux_hardware.h.

void EmbeddedLinuxHardware::init ( )
inline

Definition at line 89 of file embedded_linux_hardware.h.

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

Definition at line 102 of file embedded_linux_hardware.h.

int EmbeddedLinuxHardware::read ( )
inline

Definition at line 115 of file embedded_linux_hardware.h.

void EmbeddedLinuxHardware::setBaud ( long  baud)
inline

Definition at line 79 of file embedded_linux_hardware.h.

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

Definition at line 121 of file embedded_linux_hardware.h.

Member Data Documentation

long EmbeddedLinuxHardware::baud_
protected

Definition at line 163 of file embedded_linux_hardware.h.

int EmbeddedLinuxHardware::fd
protected

Definition at line 161 of file embedded_linux_hardware.h.

char EmbeddedLinuxHardware::portName[30]
protected

Definition at line 162 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 Mon Jun 10 2019 14:53:23