Some helper methods which run in the IO thread and are called from the GUI thread.
More...
#include <joysensoriothreadhelper.h>
Some helper methods which run in the IO thread and are called from the GUI thread.
◆ JoySensorIoThreadHelper()
JoySensorIoThreadHelper::JoySensorIoThreadHelper |
( |
JoySensor * |
sensor, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ clearButtonsSlotsEventReset
void JoySensorIoThreadHelper::clearButtonsSlotsEventReset |
( |
| ) |
|
|
slot |
Calls JoyButton::clearSlotEventReset on all JoyButtons of the underlying sensor. Should be called via QMetaObject::invokeMethod.
◆ clearPendingSlots()
void JoySensorIoThreadHelper::clearPendingSlots |
( |
| ) |
|
Clears pending slot values.
◆ setFromPendingSlots
void JoySensorIoThreadHelper::setFromPendingSlots |
( |
| ) |
|
|
slot |
Applies pending slot values to the buttons Should be called via QMetaObject::invokeMethod.
◆ setPendingSlots()
Sets pending slot values The values are applied to the buttons by calling setFromPendingSlots.
- Parameters
-
[in] | tempSlots | QHash of new pending slot values. Buttons that are absent from the hash will be left unchanged. |
◆ m_pending_slots
◆ m_sensor
The documentation for this class was generated from the following files: