diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-09-26 15:45:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 15:45:36 +0200 |
commit | a123bb65e10dab56f32f0a4ed015b366d23615da (patch) | |
tree | df9aa3d97506834c4389e7f2dc738e396155df94 /tracker-tobii/thread.hpp | |
parent | 6f836ab2ab0edb296e0dc3884983cf6b956fce68 (diff) | |
parent | a462b5411e4c6e958adb3b2d1a75657d56522942 (diff) |
Merge pull request #1724 from khoanguyen-3fc/feature/tobii-tracker
Diffstat (limited to 'tracker-tobii/thread.hpp')
-rw-r--r-- | tracker-tobii/thread.hpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/tracker-tobii/thread.hpp b/tracker-tobii/thread.hpp deleted file mode 100644 index d311db87..00000000 --- a/tracker-tobii/thread.hpp +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once - -#include <QThread> -#include <QCoreApplication> - -#include <tobii/tobii.h> -#include <tobii/tobii_streams.h> -#include <atomic> -#include <vector> -#include <string> - -class tobii_thread : public QThread -{ - Q_OBJECT - void run() override; - -public: - tobii_thread() - { - head_pose = new tobii_head_pose_t(); - } - ~tobii_thread() override; - - tobii_head_pose_t* head_pose; - -private: - tobii_api_t* api; - tobii_device_t* device; - - static constexpr unsigned int retries = 300; - static constexpr unsigned int interval = 100; - - QString error_last = ""; - std::atomic<bool> exit_thread = false; -}; |