Public Member Functions | Private Attributes
TimeEvaluator Class Reference

List of all members.

Public Member Functions

void mark (std::string _name="")
void mark (std::string _name="")
 records this time, optionally with a user specified name. difference is calculated from last mark call
void print ()
void print ()
 print out all the time differences
 TimeEvaluator (std::string _name="Time Evaluator")
 TimeEvaluator (std::string _name="Time Evaluator")
 Constructor. Initializes timer, so this is the first time record.

Private Attributes

std::vector< std::string > eventnames
std::string name
std::vector< double > times
timeval tmark

Detailed Description

Definition at line 68 of file detect_hands.cpp.


Constructor & Destructor Documentation

TimeEvaluator::TimeEvaluator ( std::string  _name = "Time Evaluator") [inline]

Definition at line 76 of file detect_hands.cpp.

TimeEvaluator::TimeEvaluator ( std::string  _name = "Time Evaluator") [inline]

Constructor. Initializes timer, so this is the first time record.

Definition at line 158 of file detect_hands_wskel.cpp.


Member Function Documentation

void TimeEvaluator::mark ( std::string  _name = "") [inline]

Definition at line 84 of file detect_hands.cpp.

void TimeEvaluator::mark ( std::string  _name = "") [inline]

records this time, optionally with a user specified name. difference is calculated from last mark call

Definition at line 171 of file detect_hands_wskel.cpp.

void TimeEvaluator::print ( ) [inline]

Definition at line 100 of file detect_hands.cpp.

void TimeEvaluator::print ( ) [inline]

print out all the time differences

Definition at line 188 of file detect_hands_wskel.cpp.


Member Data Documentation

std::vector< std::string > TimeEvaluator::eventnames [private]

Definition at line 71 of file detect_hands.cpp.

std::string TimeEvaluator::name [private]

Definition at line 72 of file detect_hands.cpp.

std::vector< double > TimeEvaluator::times [private]

Definition at line 70 of file detect_hands.cpp.

timeval TimeEvaluator::tmark [private]

Definition at line 69 of file detect_hands.cpp.


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


labust_kinect
Author(s): LABUST
autogenerated on Fri Feb 7 2014 11:37:27