Public Member Functions | Public Attributes
xbee.tests.Fake.FakeReadDevice Class Reference

List of all members.

Public Member Functions

def __init__
def inWaiting
def read

Public Attributes

 data
 read_index
 silent_on_empty

Detailed Description

Represents a fake serial port which can be read from in a similar
fashion to the real thing

Definition at line 25 of file Fake.py.


Constructor & Destructor Documentation

def xbee.tests.Fake.FakeReadDevice.__init__ (   self,
  data,
  silent_on_empty = False 
)

Definition at line 31 of file Fake.py.


Member Function Documentation

Returns the number of bytes available to be read

Definition at line 52 of file Fake.py.

def xbee.tests.Fake.FakeReadDevice.read (   self,
  length = 1 
)
Read the indicated number of bytes from the port

Definition at line 36 of file Fake.py.


Member Data Documentation

Definition at line 31 of file Fake.py.

Definition at line 31 of file Fake.py.

Definition at line 31 of file Fake.py.


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


rosserial_xbee
Author(s): Adam Stambler
autogenerated on Fri Dec 6 2013 20:35:49