Public Member Functions | Public Attributes
xbee.tests.test_base.TestAsyncCallback Class Reference

List of all members.

Public Member Functions

def setUp
def tearDown
def test_provide_callback

Public Attributes

 callback
 serial
 xbee

Detailed Description

XBeeBase constructor should accept an optional callback function 
argument. When provided, this will put the module into a threaded
mode, in which it will call the provided function with any API
frame data received.

As it would be very difficult to sanely test an asynchonous callback
routine with a synchronous test process, proper callback behavior
is not tested automatically at this time. Theoretically, the
callback implementation logic is simple, but use it at your own risk.

Definition at line 138 of file test_base.py.


Member Function Documentation

Definition at line 151 of file test_base.py.

Definition at line 156 of file test_base.py.

XBeeBase constructor should accept a callback function

Definition at line 160 of file test_base.py.


Member Data Documentation

Definition at line 151 of file test_base.py.

Definition at line 151 of file test_base.py.

Definition at line 151 of file test_base.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