![]() |
Limb Range Analyzer
Cross-platform application for human limb range analysis.
|
Auxiliary class that is used alongside Bluetooth class when describing a service. More...
#include <bluetoothservice.hpp>
Public Member Functions | |
| BluetoothService () | |
| BluetoothService class default constructor. More... | |
| BluetoothService (QLowEnergyService *service) | |
| BluetoothService class copy constructor. More... | |
| ~BluetoothService () | |
| Default BluetoothService class destructor. More... | |
| QLowEnergyService * | BluetoothService_GetService () const |
| Class defined service member getter function. More... | |
| QString | BluetoothService_GetUUID () |
| This member function returns service UUID string. More... | |
Private Attributes | |
| QLowEnergyService * | mService |
| QLowEnergyService object that maintains Bluetooth service informations. | |
Auxiliary class that is used alongside Bluetooth class when describing a service.
BluetoothService helps recognise Bluetooth services and their properties, of which their UUID is important for Limb Range Analyzer application. This class is an aggregated component used alongside Bluetooth module.
| BluetoothService::BluetoothService | ( | ) |
BluetoothService class default constructor.
This function represents default constructor of class BluetoothService.
| BluetoothService::BluetoothService | ( | QLowEnergyService * | service | ) |
BluetoothService class copy constructor.
A parametric constructor function for BluetoothService, which sets mService member attribute according to received parameter.
| service | - service object used for BluetoothService instance creation |
| BluetoothService::~BluetoothService | ( | ) |
Default BluetoothService class destructor.
Function describing default class destructor.
| QLowEnergyService * BluetoothService::BluetoothService_GetService | ( | ) | const |
Class defined service member getter function.
This member function returns mService member.
| QString BluetoothService::BluetoothService_GetUUID | ( | ) |
This member function returns service UUID string.
Member function that verifies the existence of mService object and then converts its UUID, so that it can be returned as a hexadecimal string. Unnecessary characters are omitted.