$search

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

def xbee::tests::test_base::TestAsyncCallback::setUp (   self  ) 

Definition at line 151 of file test_base.py.

def xbee::tests::test_base::TestAsyncCallback::tearDown (   self  ) 

Definition at line 156 of file test_base.py.

def xbee::tests::test_base::TestAsyncCallback::test_provide_callback (   self  ) 
XBeeBase constructor should accept a callback function

Definition at line 160 of file test_base.py.


Member Data Documentation

Definition at line 154 of file test_base.py.

Definition at line 153 of file test_base.py.

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