Gobelijn API documentation
- generated for commit a0cbea7
|
Provides wall-clock time stamp using the time call. More...
#include <TimeStamp.h>
Public Member Functions | |
TimeStamp () | |
Constructor marks the time for the time stamp. More... | |
std::string | ToString () const |
Returns string with the time stamp after eliminating newline. More... | |
std::time_t | ToTimeT () const |
Returns time stamp as a time_t. More... | |
Private Attributes | |
std::chrono::system_clock::time_point | m_tp |
Provides wall-clock time stamp using the time call.
The time is that of the constructor call.
Definition at line 31 of file TimeStamp.h.
|
inline |
Constructor marks the time for the time stamp.
Definition at line 35 of file TimeStamp.h.
|
inline |
Returns string with the time stamp after eliminating newline.
Definition at line 38 of file TimeStamp.h.
References m_tp.
Referenced by UA_CoMP::Timekeeper::operator<<().
|
inline |
|
private |
Definition at line 50 of file TimeStamp.h.
Referenced by ToString(), and ToTimeT().