![]() |
Limb Range Analyzer
Cross-platform application for human limb range analysis.
|
Auxiliary class that represents single Bluetooth device. More...
#include <bluetoothdevice.hpp>
Signals | |
| void | BluetoothDevice_SignalDeviceChanged () |
| Signal that gets emitted when device member properties are modified. | |
Public Member Functions | |
| BluetoothDevice () | |
| Class constructor of BluetoothDevice. More... | |
| BluetoothDevice (const QBluetoothDeviceInfo &device) | |
| Copy constructor of BluetoothDevice. More... | |
| ~BluetoothDevice () | |
| Default BluetoothDevice class destructor. More... | |
| void | BluetoothDevice_SetDevice (const QBluetoothDeviceInfo &device) |
| Setter member function that updates Bluetooth device informations. More... | |
| QBluetoothDeviceInfo | BluetoothDevice_GetDevice () |
| Getter function for Bluetooth device informations. More... | |
| QString | BluetoothDevice_GetName () const |
| Getter function retrieving device name string. More... | |
| QString | BluetoothDevice_GetAddress () const |
| Getter function retrieving device address. More... | |
Private Attributes | |
| QBluetoothDeviceInfo | mDevice |
| QBluetoothDeviceInfo, a member object that holds informations about current device. | |
Auxiliary class that represents single Bluetooth device.
This class is used for encapsulation of Bluetooth device needed properties - its name and address. The object generated through this class description is then used in Bluetooth module.
| BluetoothDevice::BluetoothDevice | ( | ) |
Class constructor of BluetoothDevice.
Non-parametric default constructor of BluetoothDevice class.
| BluetoothDevice::BluetoothDevice | ( | const QBluetoothDeviceInfo & | device | ) |
Copy constructor of BluetoothDevice.
Single parameter class copy constructor.
| device | - parameter that keeps Bluetooth device informations for class member |
| BluetoothDevice::~BluetoothDevice | ( | ) |
Default BluetoothDevice class destructor.
Manages base memory cleaning when BluetoothDevice object gets destroyed.
| QString BluetoothDevice::BluetoothDevice_GetAddress | ( | ) | const |
Getter function retrieving device address.
Member function that returns current device's address. Note that in case of macOS operating system, device UUID is returned instead (due to OS-specific functionality requirements).
| QBluetoothDeviceInfo BluetoothDevice::BluetoothDevice_GetDevice | ( | ) |
| QString BluetoothDevice::BluetoothDevice_GetName | ( | ) | const |
Getter function retrieving device name string.
This function uses mDevice member object function that returns the name of device.
| void BluetoothDevice::BluetoothDevice_SetDevice | ( | const QBluetoothDeviceInfo & | device | ) |
Setter member function that updates Bluetooth device informations.
Class setter function that modifies BluetoothDevice informations member mDevice and emits singal of device changes through BluetoothDevice_SignalDeviceChanged .
| device | - parameter that keeps Bluetooth device informations for class member |