Main Page
Namespaces
Classes
Files
File List
src
xbee
helpers
dispatch
tests
fake.py
Go to the documentation of this file.
1
"""
2
fake.py
3
4
By Paul Malmsten, 2010
5
pmalmsten@gmail.com
6
7
Provides fake objects for testing the dispatch package.
8
"""
9
10
class
FakeXBee
(object):
11
"""
12
Represents an XBee device from which data can be read.
13
"""
14
def
__init__
(self, data):
15
self.
data
= data
16
17
def
wait_read_frame
(self):
18
return
self.
data
xbee.helpers.dispatch.tests.fake.FakeXBee.wait_read_frame
def wait_read_frame(self)
Definition:
fake.py:17
xbee.helpers.dispatch.tests.fake.FakeXBee
Definition:
fake.py:10
xbee.helpers.dispatch.tests.fake.FakeXBee.__init__
def __init__(self, data)
Definition:
fake.py:14
xbee.helpers.dispatch.tests.fake.FakeXBee.data
data
Definition:
fake.py:15
rosserial_xbee
Author(s): Adam Stambler
autogenerated on Mon Jun 10 2019 14:53:52