class DeviceHandle
August 13, 2019 ยท View on GitHub
Member values
| Member name | Data type | Description |
|---|---|---|
| device_type | uint32 | Device type |
| device_identifier | uint32 | Unique device identifier (used with other services) |
| order | uint32 | Unique value indicating the order of that device versus the others to facilitate representation |
Member functions
| Function name | Return type | Input type | Description |
|---|---|---|---|
| device_type() const | uint32 | void | Returns the current value of device_type. If the device_type is not set, returns 0. |
| set_device_type() | void | uint32 | Sets the value of device_type. After calling this, device_type() will return value. |
| clear_device_type() | void | void | Clears the value of device_type. After calling this, device_type() will return the empty string/empty bytes. |
| device_identifier() | uint32 | void | Returns the current value of device_identifier. If the device_identifier is not set, returns 0. |
| set_device_identifier() | void | uint32 | Sets the value of device_identifier. After calling this, device_identifier() will return value. |
| clear_device_identifier() | void | void | Clears the value of device_identifier. After calling this, device_identifier() will return 0. |
| order() | uint32 | void | Returns the current value of order. If the order is not set, returns 0. |
| set_order() | void | uint32 | Sets the value of order. After calling this, order() will return value. |
| clear_order() | void | void | Clears the value of order. After calling this, order() will return 0. |
Parent topic: Common (C++)