Public Member Functions | Public Attributes | List of all members
xbee.tests.Fake.FakeDevice Class Reference

Public Member Functions

def __init__ (self)
 
def write (self, data)
 

Public Attributes

 data
 

Detailed Description

Represents a fake serial port for testing purposes

Definition at line 12 of file Fake.py.

Constructor & Destructor Documentation

def xbee.tests.Fake.FakeDevice.__init__ (   self)

Definition at line 16 of file Fake.py.

Member Function Documentation

def xbee.tests.Fake.FakeDevice.write (   self,
  data 
)
Writes data to the fake port for later evaluation

Definition at line 19 of file Fake.py.

Member Data Documentation

xbee.tests.Fake.FakeDevice.data

Definition at line 17 of file Fake.py.


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


rosserial_xbee
Author(s): Adam Stambler
autogenerated on Mon Jun 10 2019 14:53:52