#include <LOW_portUsb_Factory.h>
Public Types | |
typedef std::vector< usbDeviceSpecifier_t > | usbDevSpecVec_t |
Vector type of USB device specifiers. | |
Static Public Member Functions | |
usbDevSpecVec_t | getPortSpecifiers (const LOW_portUsbDevice::usbVendorID_t inVendorID, const LOW_portUsbDevice::usbProductID_t inProductID) |
Get a list of port specifiers of devices with a certain vendor and product ID. | |
LOW_portUsbDevice * | new_portUsbDevice (const usbDeviceSpecifier_t inUsbDevSpec) |
Platform aware replacement for creating dynamic instances of LOW_portUsbDevice. | |
Private Member Functions | |
LOW_portUsb_Factory () | |
Constructor. | |
virtual | ~LOW_portUsb_Factory () |
Destructor. |
This class also contains platform specific type definitions.
This class is thread-safe.
Definition at line 38 of file LOW_portUsb_Factory.h.
|
Vector type of USB device specifiers.
Definition at line 56 of file LOW_portUsb_Factory.h. Referenced by LOW_portUsbDevice_Linux::getPortSpecifiers(), and getPortSpecifiers(). |
|
Constructor. Private to prevent instaciation as this is a static factory. Definition at line 27 of file LOW_portUsb_Factory.cpp. |
|
Destructor. Private to prevent instaciation as this is a static factory. Definition at line 32 of file LOW_portUsb_Factory.cpp. |
|
Get a list of port specifiers of devices with a certain vendor and product ID.
Definition at line 42 of file LOW_portUsb_Factory.cpp. References LOW_portUsbDevice_Linux::getPortSpecifiers(), and usbDevSpecVec_t. |
|
Platform aware replacement for creating dynamic instances of LOW_portUsbDevice.
Definition at line 51 of file LOW_portUsb_Factory.cpp. Referenced by LOW_linkDS2490::LOW_linkDS2490(). |