| Tipro API Communicate with Tipro devices

Public Member Functions | List of all members
TiproHid Class Reference

## Public Member Functions
| TiproHid ()
| Constructor.
virtual | ~TiproHid ()
| Destructor.
virtual int | Enumerate ()
| Detects available Tipro devices. More...
virtual unsigned int | Count ()
| Returns number of found devices. More...
virtual TiproHidDevice * | GetDevice (unsigned int index)
| Returns a device by index. More...
virtual TiproHidDevice * | GetTiproHidDevice (hid_device *device)
| Returns a device by hid_device handle. More...

## Member Function Documentation

## ◆ Count()

virtual unsigned int TiproHid::Count | ( |  | ) |
| virtual

Returns number of found devices.

Returns
  Number of devices

## ◆ Enumerate()

virtual int TiproHid::Enumerate | ( |  | ) |
| virtual

Detects available Tipro devices.

Returns
  Error code

## ◆ GetDevice()

virtual TiproHidDevice* TiproHid::GetDevice | ( | unsigned int | index | ) |
| virtual

Returns a device by index.

Parameters

  [in] | index | Number of device

Returns
  TiproHidDevice handle

## ◆ GetTiproHidDevice()

virtual TiproHidDevice* TiproHid::GetTiproHidDevice | ( | hid_device * | device | ) |
| virtual

Returns a device by hid_device handle.

Parameters

  [in] | device | Handle of device

Returns
  TiproHidDevice handle

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

- TiproHidLinux.h