summaryrefslogtreecommitdiffhomepage
path: root/tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp
diff options
context:
space:
mode:
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)