summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2012-09-13 17:07:07 +0000
committerWim Vriend <facetracknoir@gmail.com>2012-09-13 17:07:07 +0000
commitdf690e02ea1bdfa06e735fd1da3a94fdee93714a (patch)
treea04fa53ea5d7d421fdedd684bf0b8e676840c2ba /FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h
parentc26901009a23c3b7df5197b3b326cb14d12e0d7f (diff)
Class TrackerDll added, to get info about the Tracker
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@129 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h')
-rw-r--r--FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h41
1 files changed, 21 insertions, 20 deletions
diff --git a/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h b/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h
index a4933c35..26d9c0ca 100644
--- a/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h
+++ b/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h
@@ -40,7 +40,6 @@ public:
FTNoIR_Tracker();
~FTNoIR_Tracker();
- void Release();
void Initialize( QFrame *videoframe );
void StartTracker( HWND parent_window );
void StopTracker( bool exit );
@@ -48,10 +47,6 @@ public:
void loadSettings();
bool SMCreateMapping();
- void getFullName(QString *strToBeFilled);
- void getShortName(QString *strToBeFilled);
- void getDescription(QString *strToBeFilled);
-
private:
//
// global variables
@@ -60,11 +55,6 @@ private:
SMMemMap *pMemData;
HANDLE hSMMutex;
QProcess *faceAPI;
-
- QString trackerFullName; // Trackers' name and description
- QString trackerShortName;
- QString trackerDescription;
-
};
// Widget that has controls for SMoIR protocol client-settings.
@@ -77,14 +67,8 @@ public:
virtual ~TrackerControls();
void showEvent ( QShowEvent * event );
- void Release(); // Member functions which are accessible from outside the DLL
void Initialize(QWidget *parent);
- void getFullName(QString *strToBeFilled);
- void getShortName(QString *strToBeFilled);
- void getDescription(QString *strToBeFilled);
- void getIcon(QIcon *icon);
-
private:
Ui::UICSMClientControls ui;
void loadSettings();
@@ -106,10 +90,6 @@ private:
smEngineHandle *engine_handle;
QTimer *timUpdateSettings; // Timer to display current settings
- QString trackerFullName; // Trackers' name and description
- QString trackerShortName;
- QString trackerDescription;
-
private slots:
void doOK();
void doCancel();
@@ -134,3 +114,24 @@ signals:
};
+//*******************************************************************************************************
+// FaceTrackNoIR Tracker DLL. Functions used to get general info on the Tracker
+//*******************************************************************************************************
+class FTNoIR_TrackerDll : public ITrackerDll
+{
+public:
+ FTNoIR_TrackerDll();
+ ~FTNoIR_TrackerDll();
+
+ void Initialize();
+
+ void getFullName(QString *strToBeFilled);
+ void getShortName(QString *strToBeFilled);
+ void getDescription(QString *strToBeFilled);
+ void getIcon(QIcon *icon);
+
+private:
+ QString trackerFullName; // Trackers' name and description
+ QString trackerShortName;
+ QString trackerDescription;
+};