BLEProthesisInterfaceQtWorkerThread.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <mutex>
4
5
#include <QBluetoothDeviceDiscoveryAgent>
6
#include <QBluetoothDeviceInfo>
7
#include <QLowEnergyController>
8
#include <QLowEnergyService>
9
#include <QThread>
10
11
#include "
BLEProthesisInterface.h
"
12
#include "
BLEProthesisInterfaceQtWorker.h
"
13
14
class
BLEProthesisInterfaceQtWorkerThread
:
public
QThread
15
{
16
Q_OBJECT
17
public
:
18
BLEProthesisInterfaceQtWorkerThread
(
const
std::string& mac,
BLEProthesisInterface
& owner);
19
~BLEProthesisInterfaceQtWorkerThread
();
20
void
kill
();
21
void
sendCommand
(
const
std::string& cmd);
22
23
private
:
24
void
run()
override
;
25
26
private
:
27
BLEProthesisInterface
* _owner{
nullptr
};
28
QString _mac;
29
BLEProthesisInterfaceQtWorker
* _worker{
nullptr
};
30
};
BLEProthesisInterfaceQtWorkerThread::kill
void kill()
Definition:
BLEProthesisInterfaceQtWorkerThread.cpp:13
BLEProthesisInterfaceQtWorkerThread::sendCommand
void sendCommand(const std::string &cmd)
Definition:
BLEProthesisInterfaceQtWorkerThread.cpp:19
BLEProthesisInterfaceQtWorker.h
BLEProthesisInterfaceQtWorkerThread
Definition:
BLEProthesisInterfaceQtWorkerThread.h:14
BLEProthesisInterfaceQtWorker
Definition:
BLEProthesisInterfaceQtWorker.h:13
BLEProthesisInterfaceQtWorkerThread::BLEProthesisInterfaceQtWorkerThread
BLEProthesisInterfaceQtWorkerThread(const std::string &mac, BLEProthesisInterface &owner)
Definition:
BLEProthesisInterfaceQtWorkerThread.cpp:3
BLEProthesisInterface
Definition:
BLEProthesisInterface.h:10
BLEProthesisInterface.h
BLEProthesisInterfaceQtWorkerThread::~BLEProthesisInterfaceQtWorkerThread
~BLEProthesisInterfaceQtWorkerThread()
RobotAPI
drivers
KITProstheticHandDriver
BLEProthesisInterfaceQtWorkerThread.h
Generated on Sat Mar 29 2025 09:17:26 for armarx_documentation by
1.8.17