Time specification used by class rofl::ctimer object. More...
#include <ctimespec.h>
Public Member Functions | |
| ctimespec (long tv_sec) | |
| ctimespec (long tv_sec, long tv_nsec) | |
| ctimespec (const ctimespec ×pec) | |
| ctimespec & | operator= (const ctimespec ×pec) |
| struct timespec & | set_timespec () |
| const struct timespec & | get_timespec () const |
| ctimespec | operator+ (const ctimespec &t) |
| ctimespec | operator- (const ctimespec &t) |
| ctimespec & | operator+= (const ctimespec &t) |
| ctimespec & | operator-= (const ctimespec &t) |
| bool | operator== (const ctimespec &t) const |
| bool | operator!= (const ctimespec &t) const |
| bool | operator< (const ctimespec &t) const |
| bool | operator<= (const ctimespec &t) const |
| bool | operator> (const ctimespec &t) const |
| bool | operator>= (const ctimespec &t) const |
| std::string | str () const |
Static Public Member Functions | |
| static ctimespec | now () |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const ctimespec ×pec) |
Time specification used by class rofl::ctimer object.
1.8.6