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
10
#include "
BLEProthesisInterface.h
"
11
#include "
BLEProthesisInterfaceQtWorker.h
"
12
13
#include <QThread>
14
15
16
class
BLEProthesisInterfaceQtWorkerThread
:
public
QThread
17
{
18
Q_OBJECT
19
public
:
20
BLEProthesisInterfaceQtWorkerThread
(
const
std::string& mac,
BLEProthesisInterface
& owner);
21
~BLEProthesisInterfaceQtWorkerThread
();
22
void
kill
();
23
void
sendCommand
(
const
std::string& cmd);
24
private
:
25
void
run()
override
;
26
private
:
27
BLEProthesisInterface
* _owner{
nullptr
};
28
QString _mac;
29
BLEProthesisInterfaceQtWorker
* _worker{
nullptr
};
30
};
BLEProthesisInterfaceQtWorkerThread::kill
void kill()
Definition:
BLEProthesisInterfaceQtWorkerThread.cpp:12
BLEProthesisInterfaceQtWorkerThread::sendCommand
void sendCommand(const std::string &cmd)
Definition:
BLEProthesisInterfaceQtWorkerThread.cpp:17
BLEProthesisInterfaceQtWorker.h
BLEProthesisInterfaceQtWorkerThread
Definition:
BLEProthesisInterfaceQtWorkerThread.h:16
BLEProthesisInterfaceQtWorker
Definition:
BLEProthesisInterfaceQtWorker.h:15
BLEProthesisInterfaceQtWorkerThread::BLEProthesisInterfaceQtWorkerThread
BLEProthesisInterfaceQtWorkerThread(const std::string &mac, BLEProthesisInterface &owner)
Definition:
BLEProthesisInterfaceQtWorkerThread.cpp:4
BLEProthesisInterface
Definition:
BLEProthesisInterface.h:10
BLEProthesisInterface.h
BLEProthesisInterfaceQtWorkerThread::~BLEProthesisInterfaceQtWorkerThread
~BLEProthesisInterfaceQtWorkerThread()
RobotAPI
drivers
KITProstheticHandDriver
BLEProthesisInterfaceQtWorkerThread.h
Generated on Sat Oct 12 2024 09:14:07 for armarx_documentation by
1.8.17