GestureRecognitionToolkit
Version: 0.2.5
The Gesture Recognition Toolkit (GRT) is a cross-platform, open-source, c++ machine learning library for real-time gesture recognition.
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
TrainingDataRecordingTimer.h
Go to the documentation of this file.
1
9
/*
10
GRT MIT License
11
Copyright (c) <2012> <Nicholas Gillian, Media Lab, MIT>
12
13
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
14
and associated documentation files (the "Software"), to deal in the Software without restriction,
15
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
16
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
17
subject to the following conditions:
18
19
The above copyright notice and this permission notice shall be included in all copies or substantial
20
portions of the Software.
21
22
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
23
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
24
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
25
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27
*/
28
29
#ifndef GRT_TRAINING_DATA_RECORDING_TIMER_HEADER
30
#define GRT_TRAINING_DATA_RECORDING_TIMER_HEADER
31
32
#include "GRTCommon.h"
33
34
GRT_BEGIN_NAMESPACE
35
36
class
GRT_API
TrainingDataRecordingTimer
{
37
public
:
38
42
TrainingDataRecordingTimer
();
43
49
TrainingDataRecordingTimer
(
const
TrainingDataRecordingTimer
&rhs);
50
54
~
TrainingDataRecordingTimer
();
55
62
TrainingDataRecordingTimer
& operator= (
const
TrainingDataRecordingTimer
&rhs);
63
64
bool
startRecording(
unsigned
long
prepTime,
unsigned
long
recordTime);
65
66
bool
stopRecording();
67
68
bool
update();
69
70
bool
getInPrepMode();
71
72
bool
getInRecordingMode();
73
74
bool
getRecordingStopped();
75
76
double
getSeconds();
77
78
protected
:
79
UINT recordingMode;
80
unsigned
long
prepTime;
81
unsigned
long
recordTime;
82
Timer
trainingTimer;
83
84
85
public
:
86
enum
RecordingModes{NOT_RECORDING=0,PREP_COUNTDOWN,RECORDING};
87
88
};
89
90
GRT_END_NAMESPACE
91
92
#endif //GRT_TRAINING_DATA_RECORDING_TIMER_HEADER
Timer
Definition:
Timer.h:43
TrainingDataRecordingTimer
Definition:
TrainingDataRecordingTimer.h:36
GRT
Util
TrainingDataRecordingTimer.h
Generated on Mon Jan 2 2017 16:24:36 for GestureRecognitionToolkit by
1.8.11