GestureRecognitionToolkit  Version: 1.0 Revision: 04-03-15
The Gesture Recognition Toolkit (GRT) is a cross-platform, open-source, c++ machine learning library for real-time gesture recognition.
GRT::GRTBase Class Reference
Inheritance diagram for GRT::GRTBase:
GRT::ClassificationData GRT::EvolutionaryAlgorithm< INDIVIDUAL > GRT::FastFourierTransform GRT::GestureRecognitionPipeline GRT::MLBase GRT::Node GRT::PrincipalComponentAnalysis GRT::Tree

Public Member Functions

 GRTBase (void)
 
virtual ~GRTBase (void)
 
bool copyGRTBaseVariables (const GRTBase *GRTBase)
 
string getClassType () const
 
string getLastWarningMessage () const
 
string getLastErrorMessage () const
 
string getLastInfoMessage () const
 
GRTBasegetGRTBasePointer ()
 
const GRTBasegetGRTBasePointer () const
 

Static Public Member Functions

static string getGRTVersion (bool returnRevision=true)
 
static string getGRTRevison ()
 

Protected Member Functions

double SQR (const double &x) const
 

Protected Attributes

string classType
 
DebugLog debugLog
 
ErrorLog errorLog
 
InfoLog infoLog
 
TrainingLog trainingLog
 
TestingLog testingLog
 
WarningLog warningLog
 

Detailed Description

Definition at line 52 of file GRTBase.h.

Constructor & Destructor Documentation

GRT::GRTBase::GRTBase ( void  )

Default GRTBase Constructor

Definition at line 25 of file GRTBase.cpp.

GRT::GRTBase::~GRTBase ( void  )
virtual

Default GRTBase Destructor

Definition at line 29 of file GRTBase.cpp.

Member Function Documentation

bool GRT::GRTBase::copyGRTBaseVariables ( const GRTBase GRTBase)

This copies the GRTBase variables from the GRTBase pointer to the instance that calls the function.

Parameters
constGRTBase *GRTBase: a pointer to a GRTBase from which the values will be copied to the instance that calls the function
Returns
returns true if the copy was successfull, false otherwise

Definition at line 32 of file GRTBase.cpp.

string GRT::GRTBase::getClassType ( ) const

This function returns the name of the current class as a string. For example, if you asked AdaBoost for the class type then this function would return "AdaBoost".

return returns a string representing the class type

Definition at line 72 of file GRTBase.cpp.

GRTBase * GRT::GRTBase::getGRTBasePointer ( )

This functions returns a pointer to the current instance.

Returns
returns a GRTBase pointer to the current instance.

Definition at line 76 of file GRTBase.cpp.

const GRTBase * GRT::GRTBase::getGRTBasePointer ( ) const

This functions returns a const pointer to the current instance.

Returns
returns a const GRTBase pointer to the current instance.

Definition at line 80 of file GRTBase.cpp.

string GRT::GRTBase::getGRTRevison ( )
static

This functions returns the current GRT revision as a string.

Returns
returns the current GRT revision as a string.

Definition at line 68 of file GRTBase.cpp.

string GRT::GRTBase::getGRTVersion ( bool  returnRevision = true)
static

This functions the GRT version number and revision as a string. If you do not want the revision number then set the returnRevision parameter to false.

Parameters
boolreturnRevision: sets if the revision number should be added to the string that is returned. Default value is true.
Returns
returns the GRT version number and revision as a string.

Definition at line 62 of file GRTBase.cpp.

string GRT::GRTBase::getLastErrorMessage ( ) const

This function returns the last error message as a string. If no errors have occured, the string will be empty.

Returns
returns the last error message as a string.

Definition at line 54 of file GRTBase.cpp.

string GRT::GRTBase::getLastInfoMessage ( ) const

This function returns the last info message as a string. If no info have occured, the string will be empty.

Returns
returns the last info message as a string.

Definition at line 58 of file GRTBase.cpp.

string GRT::GRTBase::getLastWarningMessage ( ) const

This function returns the last warning message as a string. If no warnings have occured, the string will be empty.

Returns
returns the last warning message as a string.

Definition at line 50 of file GRTBase.cpp.


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