
Public Member Functions | |
| QTime () | |
| default constructor | |
| QTime (time_t time) | |
| constructor from a time_t => only unixtime is set | |
| virtual | ~QTime () |
| default destructor | |
| void | SetFromStartRunNs (unsigned long long time) |
| set time from start of run in ns | |
| void | SetStartRunUnix (unsigned int time) |
| set time of start of run in seconds from 1/1/1970 | |
| void | SetStartRunUnix (int year, int month, int day, int hour, int min, int sec) |
| unsigned long long | GetFromStartRunNs () const |
| retrieve time from start of run in ns | |
| time_t | GetStartRunUnix () const |
| retrieve time of start of run in seconds from 1/1/1970 | |
| time_t | GetTimeSec () const |
| retrieve time of event in seconds from 1/1/1970 | |
| unsigned int | GetTimeNSec () const |
| retrieve time of event in nanoseconds from the last second | |
| std::string | GetTimeAsString () const |
| retrieve time of event in string format | |
| bool | operator== (const QTime &other) const |
| operator== | |
| bool | operator< (const QTime &other) const |
| operator< | |
| void | Clear () |
| clear values | |
Private Attributes | |
| unsigned long long | fFromStartRunNs |
| unsigned int | fStartRunUnix |
| void QTime::SetStartRunUnix | ( | int | year, | |
| int | month, | |||
| int | day, | |||
| int | hour, | |||
| int | min, | |||
| int | sec | |||
| ) |
this method accepts year, day, month,hour min,sec format
1.5.6