summaryrefslogtreecommitdiffhomepage
path: root/tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-11-04 19:15:54 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-11-04 19:48:11 +0100
commitb89699c7551f768bf4ff47820543f8c7b8c794af (patch)
treec3a21ec23a40250ec54b97fe17b9035a932cfaf8 /tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp
parent068e0c7d432ede0a388fe1478b5146fcf1809315 (diff)
modules: make names unique
Diffstat (limited to 'tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp')
-rw-r--r--tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp b/tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp
index d6d53803..4c5d14ef 100644
--- a/tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp
+++ b/tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp
@@ -6,11 +6,11 @@
#include <cmath>
-TrackerImpl::TrackerImpl() : pose { 0,0,0, 0,0,0 }, should_quit(false)
+tracker_freepie::tracker_freepie() : pose { 0,0,0, 0,0,0 }, should_quit(false)
{
}
-TrackerImpl::~TrackerImpl()
+tracker_freepie::~tracker_freepie()
{
should_quit = true;
wait();
@@ -26,7 +26,7 @@ static const t bound(t datum, t least, t max)
return datum;
}
-void TrackerImpl::run() {
+void tracker_freepie::run() {
#pragma pack(push, 1)
struct {
uint8_t pad1;
@@ -103,13 +103,13 @@ void TrackerImpl::run() {
}
}
-void TrackerImpl::start_tracker(QFrame*)
+void tracker_freepie::start_tracker(QFrame*)
{
start();
sock.moveToThread(this);
}
-void TrackerImpl::data(double *data)
+void tracker_freepie::data(double *data)
{
QMutexLocker foo(&mtx);
@@ -118,4 +118,4 @@ void TrackerImpl::data(double *data)
data[Roll] = pose[Roll];
}
-OPENTRACK_DECLARE_TRACKER(TrackerImpl, TrackerDialog, TrackerMeta)
+OPENTRACK_DECLARE_TRACKER(tracker_freepie, dialog_freepie, meta_freepie)