class DeviceHandle

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
device_typeuint32Device type
device_identifieruint32Unique device identifier (used with other services)
orderuint32Unique value indicating the order of that device versus the others to facilitate representation

Member functions

Function nameReturn typeInput typeDescription
device_type() constuint32voidReturns the current value of device_type. If the device_type is not set, returns 0.
set_device_type()voiduint32Sets the value of device_type. After calling this, device_type() will return value.
clear_device_type()voidvoidClears the value of device_type. After calling this, device_type() will return the empty string/empty bytes.
device_identifier()uint32voidReturns the current value of device_identifier. If the device_identifier is not set, returns 0.
set_device_identifier()voiduint32Sets the value of device_identifier. After calling this, device_identifier() will return value.
clear_device_identifier()voidvoidClears the value of device_identifier. After calling this, device_identifier() will return 0.
order()uint32voidReturns the current value of order. If the order is not set, returns 0.
set_order()voiduint32Sets the value of order. After calling this, order() will return value.
clear_order()voidvoidClears the value of order. After calling this, order() will return 0.

Parent topic: Common (C++)