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.
TrainingDataRecordingTimer Class Reference

Public Types

enum  RecordingModes { NOT_RECORDING =0, PREP_COUNTDOWN, RECORDING }
 

Public Member Functions

 TrainingDataRecordingTimer ()
 
 TrainingDataRecordingTimer (const TrainingDataRecordingTimer &rhs)
 
 ~TrainingDataRecordingTimer ()
 
TrainingDataRecordingTimeroperator= (const TrainingDataRecordingTimer &rhs)
 
bool startRecording (unsigned long prepTime, unsigned long recordTime)
 
bool stopRecording ()
 
bool update ()
 
bool getInPrepMode ()
 
bool getInRecordingMode ()
 
bool getRecordingStopped ()
 
double getSeconds ()
 

Protected Attributes

UINT recordingMode
 
unsigned long prepTime
 
unsigned long recordTime
 
Timer trainingTimer
 

Detailed Description

Definition at line 36 of file TrainingDataRecordingTimer.h.

Constructor & Destructor Documentation

TrainingDataRecordingTimer::TrainingDataRecordingTimer ( )

Default Constructor.

Definition at line 26 of file TrainingDataRecordingTimer.cpp.

TrainingDataRecordingTimer::TrainingDataRecordingTimer ( const TrainingDataRecordingTimer rhs)

Copy Constructor, copies the TrainingDataRecordingTimer from the rhs instance to this instance

Parameters
constTrainingDataRecordingTimer &rhs: another instance of the TrainingDataRecordingTimer class from which the data will be copied to this instance

Definition at line 32 of file TrainingDataRecordingTimer.cpp.

TrainingDataRecordingTimer::~TrainingDataRecordingTimer ( )

Default Destructor

Definition at line 39 of file TrainingDataRecordingTimer.cpp.

Member Function Documentation

TrainingDataRecordingTimer & TrainingDataRecordingTimer::operator= ( const TrainingDataRecordingTimer rhs)

Sets the equals operator, copies the data from the rhs instance to this instance

Parameters
constTrainingDataRecordingTimer &rhs: another instance of the TrainingDataRecordingTimer class from which the data will be copied to this instance
Returns
a reference to this instance of the TrainingDataRecordingTimer

Definition at line 43 of file TrainingDataRecordingTimer.cpp.


The documentation for this class was generated from the following files: