This class is used to specify wallclock time, delay intervals etc.
More...
#include <rtptimeutilities.h>
|
| | RTPTime (double t) |
| | Creates an RTPTime instance representing t, which is expressed in units of seconds. More...
|
| |
| | RTPTime (RTPNTPTime ntptime) |
| | Creates an instance that corresponds to ntptime. More...
|
| |
| | RTPTime (uint32_t seconds, uint32_t microseconds) |
| | Creates an instance corresponding to seconds and microseconds. More...
|
| |
| uint32_t | GetSeconds () const |
| | Returns the number of seconds stored in this instance. More...
|
| |
| uint32_t | GetMicroSeconds () const |
| | Returns the number of microseconds stored in this instance. More...
|
| |
| double | GetDouble () const |
| | Returns the time stored in this instance, expressed in units of seconds. More...
|
| |
| RTPNTPTime | GetNTPTime () const |
| | Returns the NTP time corresponding to the time stored in this instance. More...
|
| |
This class is used to specify wallclock time, delay intervals etc. It stores a number of seconds and a number of microseconds.
◆ RTPTime() [1/3]
| RTPTime::RTPTime |
( |
double |
t | ) |
|
|
inline |
◆ RTPTime() [2/3]
Creates an instance that corresponds to ntptime. If the conversion cannot be made, both the seconds and the microseconds are set to zero.
References RTPNTPTime::GetMSW().
◆ RTPTime() [3/3]
| RTPTime::RTPTime |
( |
uint32_t |
seconds, |
|
|
uint32_t |
microseconds |
|
) |
| |
|
inline |
◆ CurrentTime()
Returns an RTPTime instance representing the current wallclock time. This is expressed as a number of seconds since 00:00:00 UTC, January 1, 1970.
◆ GetDouble()
| double RTPTime::GetDouble |
( |
| ) |
const |
|
inline |
◆ GetMicroSeconds()
| uint32_t RTPTime::GetMicroSeconds |
( |
| ) |
const |
|
inline |
◆ GetNTPTime()
◆ GetSeconds()
| uint32_t RTPTime::GetSeconds |
( |
| ) |
const |
|
inline |
◆ Wait()
| void RTPTime::Wait |
( |
const RTPTime & |
delay | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: