|
VideoTools
|
A subsecond-resolution timestamp based on a time_t. More...
#include <gdatetime.h>
Public Member Functions | |
| EpochTime (std::time_t) | |
| Constructor. | |
| EpochTime (std::time_t, unsigned long us) | |
| Constructor. The 'us' parameter can be more than 10^6. | |
| void | streamOut (std::ostream &) const |
| Used by operator<<. | |
Public Attributes | |
| std::time_t | s |
| unsigned int | us |
Friends | |
| EpochTime | operator+ (EpochTime et, std::time_t s) |
| EpochTime | operator+ (EpochTime lhs, EpochTime rhs) |
| EpochTime | operator- (EpochTime big, EpochTime small_) |
| bool | operator< (EpochTime lhs, EpochTime rhs) |
| bool | operator== (EpochTime lhs, EpochTime rhs) |
A subsecond-resolution timestamp based on a time_t.
Definition at line 39 of file gdatetime.h.