$search

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.


Member Function Documentation

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

Definition at line 31 of file Fake.py.

def xbee::tests::Fake::FakeReadDevice::inWaiting (   self  ) 
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 32 of file Fake.py.

Definition at line 33 of file Fake.py.

Definition at line 34 of file Fake.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


rosserial_xbee
Author(s): Adam Stambler
autogenerated on Sat Mar 2 13:25:59 2013