diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2011-03-08 22:10:06 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2011-03-08 22:10:06 +0000 |
commit | 7dc20f380c80b1b0597e619e66d23921f0309aa0 (patch) | |
tree | c5fb83c3b97b825112433a81ee3dfafe96dba84e /FTNoIR_Tracker_UDP | |
parent | 63ce1b5dc62e5c1a079f8a675c0a4371adb27d29 (diff) |
Start after update 1.5
Begin placing faceAPI in DLL
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@52 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Tracker_UDP')
-rw-r--r-- | FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.h | 2 | ||||
-rw-r--r-- | FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.vcproj | 26 | ||||
-rw-r--r-- | FTNoIR_Tracker_UDP/ftnoir_tracker_base.h | 71 | ||||
-rw-r--r-- | FTNoIR_Tracker_UDP/ftnoir_tracker_base_global.h | 12 | ||||
-rw-r--r-- | FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp | 2 |
5 files changed, 4 insertions, 109 deletions
diff --git a/FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.h b/FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.h index b3467341..9a0cad1f 100644 --- a/FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.h +++ b/FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.h @@ -1,4 +1,4 @@ -#include "ftnoir_tracker_base.h"
+#include "..\ftnoir_tracker_base\ftnoir_tracker_base.h"
#include "ui_FTNoIR_FTNClientcontrols.h"
#include <QThread>
#include <QUdpSocket>
diff --git a/FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.vcproj b/FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.vcproj index ae299ed2..2e01f009 100644 --- a/FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.vcproj +++ b/FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.vcproj @@ -178,33 +178,11 @@ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
- RelativePath=".\ftnoir_tracker_base.h"
+ RelativePath="..\FTNoIR_Tracker_Base\ftnoir_tracker_base.h"
>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description=""
- CommandLine=""
- AdditionalDependencies=""
- Outputs=""
- />
- </FileConfiguration>
</File>
<File
- RelativePath=".\ftnoir_tracker_base_global.h"
+ RelativePath="..\FTNoIR_Tracker_Base\ftnoir_tracker_base_global.h"
>
</File>
<File
diff --git a/FTNoIR_Tracker_UDP/ftnoir_tracker_base.h b/FTNoIR_Tracker_UDP/ftnoir_tracker_base.h deleted file mode 100644 index f39a8b4d..00000000 --- a/FTNoIR_Tracker_UDP/ftnoir_tracker_base.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef FTNOIR_TRACKER_BASE_H
-#define FTNOIR_TRACKER_BASE_H
-
-#include "ftnoir_tracker_base_global.h"
-#include <QtGui/QWidget>
-
-//
-// x,y,z position in centimetres, yaw, pitch and roll in degrees...
-//
-#pragma pack(push, 2)
-struct THeadPoseData {
- double x, y, z, yaw, pitch, roll;
-};
-#pragma pack(pop)
-
-// COM-Like abstract interface.
-// This interface doesn't require __declspec(dllexport/dllimport) specifier.
-// Method calls are dispatched via virtual table.
-// Any C++ compiler can use it.
-// Instances are obtained via factory function.
-struct ITracker
-{
- virtual void Release() = 0; // Member required to enable Auto-remove
- virtual void Initialize() = 0;
- virtual void StartTracker() = 0;
- virtual void GiveHeadPoseData(THeadPoseData *data) = 0;
-};
-
-// Handle type. In C++ language the iterface type is used.
-typedef ITracker* TRACKERHANDLE;
-
-////////////////////////////////////////////////////////////////////////////////
-//
-#ifdef __cplusplus
-# define EXTERN_C extern "C"
-#else
-# define EXTERN_C
-#endif // __cplusplus
-
-// Factory function that creates instances of the Tracker object.
-EXTERN_C
-FTNOIR_TRACKER_BASE_EXPORT
-TRACKERHANDLE
-__stdcall
-GetTracker(
- void);
-
-
-// COM-Like abstract interface.
-// This interface doesn't require __declspec(dllexport/dllimport) specifier.
-// Method calls are dispatched via virtual table.
-// Any C++ compiler can use it.
-// Instances are obtained via factory function.
-struct ITrackerDialog
-{
- virtual void Release() = 0; // Member required to enable Auto-remove
- virtual void Initialize(QWidget *parent) = 0;
-};
-
-// Handle type. In C++ language the iterface type is used.
-typedef ITrackerDialog* TRACKERDIALOGHANDLE;
-
-// Factory function that creates instances of the Tracker object.
-EXTERN_C
-FTNOIR_TRACKER_BASE_EXPORT
-TRACKERDIALOGHANDLE
-__stdcall
-GetTrackerDialog(void);
-
-
-#endif // FTNOIR_TRACKER_BASE_H
diff --git a/FTNoIR_Tracker_UDP/ftnoir_tracker_base_global.h b/FTNoIR_Tracker_UDP/ftnoir_tracker_base_global.h deleted file mode 100644 index 9f4a6118..00000000 --- a/FTNoIR_Tracker_UDP/ftnoir_tracker_base_global.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef FTNOIR_TRACKER_BASE_GLOBAL_H
-#define FTNOIR_TRACKER_BASE_GLOBAL_H
-
-#include <Qt/qglobal.h>
-
-#ifdef FTNOIR_TRACKER_BASE_LIB
-# define FTNOIR_TRACKER_BASE_EXPORT Q_DECL_EXPORT
-#else
-# define FTNOIR_TRACKER_BASE_EXPORT Q_DECL_IMPORT
-#endif
-
-#endif // FTNOIR_TRACKER_BASE_GLOBAL_H
diff --git a/FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp b/FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp index 93ef60b6..1a64261e 100644 --- a/FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp +++ b/FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp @@ -88,7 +88,7 @@ quint16 senderPort; //for lower cpu load
usleep(10000);
- yieldCurrentThread();
+// yieldCurrentThread();
}
}
|