Marsyas
0.6.0-alpha
|
#include <TmTime.h>
Public Member Functions | |
virtual std::string | getTime () |
get the time that this object represents | |
virtual std::string | getTimeName () |
get the name of the timer on which this time is specified. | |
virtual void | set (std::string timer_name, std::string time) |
set everything | |
virtual void | setTime (std::string t) |
set the time | |
virtual void | setTimeName (std::string t) |
set the timer name | |
TmTime (std::string timer_name, std::string time) | |
constructor | |
virtual | ~TmTime () |
Associates a string representation of a time interval with a timer name on which the interval makes sense.
TmTime | ( | std::string | timer_name, |
std::string | time | ||
) |
constructor
timer_name | the timer on which the specified time is meaningful |
time | a string representing a point in time on a given timer |
Definition at line 24 of file TmTime.cpp.
~TmTime | ( | ) | [virtual] |
Definition at line 29 of file TmTime.cpp.
std::string getTime | ( | ) | [virtual] |
get the time that this object represents
Definition at line 39 of file TmTime.cpp.
std::string getTimeName | ( | ) | [virtual] |
get the name of the timer on which this time is specified.
Definition at line 46 of file TmTime.cpp.
void set | ( | std::string | timer_name, |
std::string | time | ||
) | [virtual] |
set everything
timer_name | name of the timer |
time | string representing the time |
Definition at line 32 of file TmTime.cpp.
void setTime | ( | std::string | t | ) | [virtual] |
void setTimeName | ( | std::string | t | ) | [virtual] |
set the timer name
t | string representing the time |
Definition at line 58 of file TmTime.cpp.