#include <CommsUsb.h>
    |  | 
 |  | CommsUsb () | 
 |  | 
 |  | ~CommsUsb () | 
 |  | 
 | BError | connect (BString device) | 
 |  | 
 | BError | disconnect () | 
 |  | 
 | BUInt | readAvailable () | 
 |  | 
 | BError | read (void *data, BUInt32 num, BUInt32 &nTrans) | 
 |  | 
 | BError | write (const void *data, BUInt32 num, BUInt32 &nTrans) | 
 |  | 
 | BError | wait (BUInt32 eventSet, BTimeout timeout=-1, BUInt32 num=1) | 
 |  | 
  |  | BComms () | 
 |  | 
 | virtual | ~BComms () | 
 |  | 
 | virtual BError | init () | 
 |  | 
 | virtual void | close () | 
 |  | 
 | virtual const char * | name () | 
 |  | 
 | virtual BUInt32 | byteRate () | 
 |  | 
 | virtual BError | setPacketMode (Bool packetMode) | 
 |  | 
 | virtual Bool | packetMode () | 
 |  | 
 | virtual BError | setTimeout (BTimeout timeoutUs) | 
 |  | 
 | virtual BError | connect (const char *resource) | 
 |  | 
 | virtual Bool | isConnected () | 
 |  | 
 | virtual void | flush (Flush flush) | 
 |  | 
 | virtual BUInt | writeAvailable () | 
 |  | 
 | virtual BError | writeChunks (const BDataChunk *chunks, BUInt nChunks, BUInt32 &nTrans) | 
 |  | 
 | virtual void | eventQueue (BEventQueue *eventQueue, BUInt32 event, BUInt32 eventSet, BUInt num=1) | 
 |  | 
 | virtual void | eventEnable (Bool on) | 
 |  | 
 
   ◆ CommsUsb()
                              | BMeasureApi::CommsUsb::CommsUsb | ( |  | ) |  | 
       
    
    ◆ ~CommsUsb()
                              | BMeasureApi::CommsUsb::~CommsUsb | ( |  | ) |  | 
       
    
     ◆ connect()
    ◆ disconnect()
          |                     | BError BMeasureApi::CommsUsb::disconnect | ( |  | ) |  |  | virtual | 
 
      ◆ read()
    ◆ readAvailable()
          |                     | BUInt BMeasureApi::CommsUsb::readAvailable | ( |  | ) |  |  | virtual | 
 
      ◆ readChunk()
    ◆ wait()
    ◆ write()
     ◆ obuffer
          |                     | char BMeasureApi::CommsUsb::obuffer[102400] |  | private | 
 
    
    ◆ ocontext
          |                     | libusb_context* BMeasureApi::CommsUsb::ocontext |  | private | 
 
    
    ◆ odev
          |                     | libusb_device_handle* BMeasureApi::CommsUsb::odev |  | private | 
 
    
    ◆ odevice
          |                     | BString BMeasureApi::CommsUsb::odevice |  | private | 
 
    
    ◆ onum
          |                     | BUInt BMeasureApi::CommsUsb::onum |  | private | 
 
    
    ◆ oterminated
          |                     | Bool BMeasureApi::CommsUsb::oterminated |  | private | 
 
    
    ◆ oterminating
          |                     | Bool BMeasureApi::CommsUsb::oterminating |  | private | 
 
    
    ◆ ousbDisconnected
          |                     | Bool BMeasureApi::CommsUsb::ousbDisconnected |  | private | 
 
    
   
The documentation for this class was generated from the following files: