Public Member Functions | Protected Attributes
ArduinoHardware Class Reference

#include <ArduinoHardware.h>

List of all members.

Public Member Functions

 ArduinoHardware ()
 ArduinoHardware (SERIAL_CLASS *io, long baud=57600)
 ArduinoHardware ()
 ArduinoHardware (ArduinoHardware &h)
int getBaud ()
IPAddress getLocalIP ()
void init ()
void init ()
int read ()
int read ()
void setBaud (long baud)
void setConnection (IPAddress &server, int port=11411)
unsigned long time ()
unsigned long time ()
void write (const uint8_t *data, int length)
void write (uint8_t *data, int length)

Protected Attributes

long baud_
SERIAL_CLASSiostream
IPAddress server_
uint16_t serverPort_ = 11411
EthernetClient tcp_

Detailed Description

Definition at line 65 of file ArduinoHardware.h.


Constructor & Destructor Documentation

ArduinoHardware::ArduinoHardware ( SERIAL_CLASS io,
long  baud = 57600 
) [inline]

Definition at line 67 of file ArduinoHardware.h.

Definition at line 71 of file ArduinoHardware.h.

Definition at line 83 of file ArduinoHardware.h.

Definition at line 48 of file ArduinoTcpHardware.h.


Member Function Documentation

int ArduinoHardware::getBaud ( ) [inline]

Definition at line 92 of file ArduinoHardware.h.

IPAddress ArduinoHardware::getLocalIP ( ) [inline]

Definition at line 58 of file ArduinoTcpHardware.h.

void ArduinoHardware::init ( ) [inline]

Definition at line 67 of file ArduinoTcpHardware.h.

void ArduinoHardware::init ( ) [inline]

Definition at line 94 of file ArduinoHardware.h.

int ArduinoHardware::read ( ) [inline]

Definition at line 72 of file ArduinoTcpHardware.h.

int ArduinoHardware::read ( ) [inline]

Definition at line 102 of file ArduinoHardware.h.

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

Definition at line 88 of file ArduinoHardware.h.

void ArduinoHardware::setConnection ( IPAddress &  server,
int  port = 11411 
) [inline]

Definition at line 52 of file ArduinoTcpHardware.h.

unsigned long ArduinoHardware::time ( ) [inline]

Definition at line 89 of file ArduinoTcpHardware.h.

unsigned long ArduinoHardware::time ( ) [inline]

Definition at line 108 of file ArduinoHardware.h.

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

Definition at line 84 of file ArduinoTcpHardware.h.

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

Definition at line 103 of file ArduinoHardware.h.


Member Data Documentation

long ArduinoHardware::baud_ [protected]

Definition at line 112 of file ArduinoHardware.h.

Definition at line 111 of file ArduinoHardware.h.

IPAddress ArduinoHardware::server_ [protected]

Definition at line 100 of file ArduinoTcpHardware.h.

uint16_t ArduinoHardware::serverPort_ = 11411 [protected]

Definition at line 101 of file ArduinoTcpHardware.h.

EthernetClient ArduinoHardware::tcp_ [protected]

Definition at line 98 of file ArduinoTcpHardware.h.


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


rosserial_arduino
Author(s): Michael Ferguson, Adam Stambler
autogenerated on Sat Oct 7 2017 03:08:41