diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-15 20:00:57 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-15 20:00:57 +0200 |
commit | fc906d93916d04c81ae712e52045ed56c2788adc (patch) | |
tree | 24d05ee0358f83034e28227b14929429224f2682 /ftnoir_tracker_ht/ftnoir_tracker_ht.h | |
parent | e5644bff6531717503c14b209041c1a7524e9998 (diff) |
Simplify tracker API
No need to have a separate finalization function, can just as well sleep
in the destructor.
Diffstat (limited to 'ftnoir_tracker_ht/ftnoir_tracker_ht.h')
-rw-r--r-- | ftnoir_tracker_ht/ftnoir_tracker_ht.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.h b/ftnoir_tracker_ht/ftnoir_tracker_ht.h index fcdea140..5b8eb508 100644 --- a/ftnoir_tracker_ht/ftnoir_tracker_ht.h +++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.h @@ -27,16 +27,6 @@ public: bool GiveHeadPoseData(double *data); bool enableTX, enableTY, enableTZ, enableRX, enableRY, enableRZ; ht_shm_t* shm; - bool NeedsTimeToFinish() { - return true; - } - void WaitForExit() { - if (shm) { - shm->terminate = true; - subprocess.waitForFinished(5000); - } - subprocess.kill(); - } private: QTimer timer; PortableLockedShm lck_shm; |