Neonode zForce(TM) SDK
|
Struct containing the HidPipeTransportEnumeration information. More...
#include <HidPipeTransportEnumeration.h>
Public Attributes | |
zForce * | zForce |
Pointer to zForce. | |
Queue * | Queue |
Pointer to queue. | |
void * | Private |
Pointer to private data structure. | |
void(* | Destructor )(HidPipeTransportEnumeration *self) |
Destroys the HidPipeTransportEnumeration. More... | |
bool(* | AddHidPipeTransport )(HidPipeTransportEnumeration *self, HidPipeTransport *transport) |
Adds a HidPipeTransport to the internal list. More... | |
struct hid_device_info *(* | Enumerate )(HidPipeTransportEnumeration *self, HidPipeTransport *transport, uint16_t vid, uint16_t pid) |
Calls hid_enumerate in the HidApi. More... | |
bool(* | IsTransportListEmpty )(HidPipeTransportEnumeration *self) |
Checks if there is anything in the internal list of HidPipeTransports. More... | |
Struct containing the HidPipeTransportEnumeration information.
HidPipeTransportEnumeration is a singleton class intended to be run in its own thread.
bool( * HidPipeTransportEnumeration::AddHidPipeTransport) (HidPipeTransportEnumeration *self, HidPipeTransport *transport) |
Adds a HidPipeTransport to the internal list.
Adds a HidPipeTransport to the internal list.
On failure, errno is set.
self | Pointer to the struct itself. |
transport | Pointer to the HidPipeTransport to add. |
void( * HidPipeTransportEnumeration::Destructor) (HidPipeTransportEnumeration *self) |
Destroys the HidPipeTransportEnumeration.
self | Pointer to the struct itself. |
struct hid_device_info*( * HidPipeTransportEnumeration::Enumerate) (HidPipeTransportEnumeration *self, HidPipeTransport *transport, uint16_t vid, uint16_t pid) |
Calls hid_enumerate in the HidApi.
Calls hid_enumerate in the HidApi.
On failure, errno is set.
self | Pointer to the struct itself. |
transport | Pointer to the HidPipeTransport. |
vid | The vendor id of the device to search for. |
pid | The product id of the device to search for. |
bool( * HidPipeTransportEnumeration::IsTransportListEmpty) (HidPipeTransportEnumeration *self) |
Checks if there is anything in the internal list of HidPipeTransports.
Checks if there is anything in the internal list of HidPipeTransports.
self | Pointer to the struct itself. |