Public Member Functions

Barry::Probe Class Reference

Collaboration diagram for Barry::Probe:
Collaboration graph

List of all members.

Public Member Functions

 Probe (const char *busname=0, const char *devname=0, const Usb::EndpointPair *epp=0, unsigned int log_exceptions=LOG_BUSY|LOG_ACCESS|LOG_PERM, bool auto_dump_log=true)
 log_exceptions is a bitmask of low level USB errors to log instead of throw on.

Detailed Description

Definition at line 92 of file probe.h.

Constructor & Destructor Documentation

Barry::Probe::Probe ( const char *  busname = 0,
const char *  devname = 0,
const Usb::EndpointPair epp = 0,
unsigned int  log_exceptions = LOG_BUSY | LOG_ACCESS | LOG_PERM,
bool  auto_dump_log = true 

log_exceptions is a bitmask of low level USB errors to log instead of throw on.

If 0, all USB errors will cause an exception, and thereby stop the probe. If the error is set in the bitmask, the exception will be caught, and logged in m_fail_msgs, which can be retrieved through GetFailCount() and GetFailMsg(). If auto_dump_log is true, all logged messages will be dumped as well, via the eout() macro, to make sure they are seen, even if the application programmer doesn't deal with them via the API.

Definition at line 131 of file

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