|
tobicore
7.0.0
|
Timestamp class. More...
#include <tobicore/TCTimestamp.hpp>
Collaboration diagram for TCTimestamp:Public Member Functions | |
| TCTimestamp (void) | |
| Constructor. | |
| virtual | ~TCTimestamp (void) |
| Destructor. | |
| virtual void | Unset (void) |
| Invalidates the timestamp. | |
| virtual bool | IsSet (void) |
| Check if the timestamp is valid. | |
| virtual void | Tic (void) |
| Tics the timestamp. | |
| virtual double | Toc (TCTimeval *timestamp) |
| Tocs the timestamp. | |
| virtual double | Toc (void) |
| Tocs the timestamp. | |
| virtual void | Get (std::string *timestamp) const |
| Timestamp getter (as string) | |
| virtual bool | Set (const std::string ×tamp) |
| Timestamp setter (as string) | |
| virtual void | Set (const TCTimeval *timestamp) |
| Timestamp setter. | |
Public Attributes | |
| TCTimeval | timestamp |
| Timestamp. | |
Timestamp class.
Definition at line 30 of file TCTimestamp.hpp.
|
virtual |
Timestamp getter (as string)
Writes a stringified representation of the timestamp
Definition at line 58 of file TCTimestamp.cpp.
Here is the caller graph for this function:
|
virtual |
Check if the timestamp is valid.
Definition at line 38 of file TCTimestamp.cpp.
|
virtual |
Timestamp setter (as string)
Reads a stringified representation of the timestamp
Definition at line 68 of file TCTimestamp.cpp.
Here is the caller graph for this function:
|
virtual |
Timestamp setter.
From external timestamp
Definition at line 75 of file TCTimestamp.cpp.
|
virtual |
Tics the timestamp.
Tic is like starting a stopwatch timer
Definition at line 42 of file TCTimestamp.cpp.
Here is the caller graph for this function:
|
virtual |
Tocs the timestamp.
Measures the difference between the external timestamp and the instance.
Definition at line 46 of file TCTimestamp.cpp.
|
virtual |
Tocs the timestamp.
Toc is like checking how long a stopwatch timer has been running
Definition at line 54 of file TCTimestamp.cpp.