TwiceAsNice
2019-02-18
|
#include <Time.h>
Static Public Member Functions | |
static Time | seconds (double _s) |
static Time | milliSeconds (int) |
static Time | microSeconds (Nice::I64) |
static Time | nanoSeconds (Nice::I64) |
static Time | seconds (double _s) |
static Time | milliSeconds (int) |
static Time | microSeconds (Nice::I64) |
static Time | nanoSeconds (Nice::I64) |
Protected Member Functions | |
Time (Nice::I64) | |
Time (Nice::I64) | |
Additional Inherited Members | |
![]() | |
::Ice::Long | nsec |
|
protected |
Nice::Time::Time | ( | const Nice::TimeVar & | _t | ) |
Nice::Time::Time | ( | ) |
|
protected |
Nice::Time::Time | ( | const Nice::TimeVar & | ) |
Nice::Time::Time | ( | ) |
int Nice::Time::hour | ( | ) | const |
int Nice::Time::hour | ( | ) | const |
int Nice::Time::microSecond | ( | ) | const |
int Nice::Time::microSecond | ( | ) | const |
|
static |
int Nice::Time::milliSecond | ( | ) | const |
int Nice::Time::milliSecond | ( | ) | const |
Extract the fraction of milliseconds.
|
static |
|
static |
int Nice::Time::minute | ( | ) | const |
Extract the fraction of minutes.
int Nice::Time::minute | ( | ) | const |
int Nice::Time::nanoSecond | ( | ) | const |
int Nice::Time::nanoSecond | ( | ) | const |
|
static |
Nice::Time::operator boost::xtime | ( | ) | const |
Nice::Time::operator boost::xtime | ( | ) | const |
Nice::Time::operator IceUtil::Time | ( | ) | const |
Nice::Time::operator IceUtil::Time | ( | ) | const |
Nice::Time::operator time_t | ( | ) | const |
Nice::Time::operator time_t | ( | ) | const |
Nice::Time::operator timespec | ( | ) | const |
Nice::Time::operator timespec | ( | ) | const |
Nice::Time::operator timeval | ( | ) | const |
Nice::Time::operator timeval | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Multiply the time interval by a factor.
rhs | the stretch factor. |
|
inline |
Multiply the time interval by a factor.
rhs | the stretch factor. |
|
inline |
|
inline |
add a time interval
rhs | The interval to be added |
add a time interval
rhs | The interval to be added |
increment this by a time interval
rhs | The interval to be added |
increment this by a time interval
rhs | The interval to be added |
|
inline |
Negate the time value (flip sign)
|
inline |
Negate the time value (flip sign)
subtract a time interval
rhs | The interval to be subtracted |
subtract a time interval
rhs | The interval to be subtracted |
decrement this by a time interval
rhs | The interval to be added |
decrement this by a time interval
rhs | The interval to be added |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Test whether this time is earlier than another.
rhs | the reference time |
Test whether this time is earlier than another.
rhs | the reference time |
Test whether this time is not latter than another.
rhs | the reference time |
Test whether this time is not latter than another.
rhs | the reference time |
Test whether this time is latter than another.
rhs | the reference time |
Test whether this time is latter than another.
rhs | the reference time |
int Nice::Time::second | ( | ) | const |
int Nice::Time::second | ( | ) | const |
Extract the fraction of seconds.
|
static |
|
static |
IceUtil::Time Nice::Time::toIceUtilTime | ( | ) | const |
IceUtil::Time Nice::Time::toIceUtilTime | ( | ) | const |
Nice::I64 Nice::Time::toMicroSeconds | ( | ) | const |
Nice::I64 Nice::Time::toMicroSeconds | ( | ) | const |
double Nice::Time::toMicroSecondsDouble | ( | ) | const |
double Nice::Time::toMicroSecondsDouble | ( | ) | const |
long Nice::Time::toMilliSeconds | ( | ) | const |
long Nice::Time::toMilliSeconds | ( | ) | const |
double Nice::Time::toMilliSecondsDouble | ( | ) | const |
double Nice::Time::toMilliSecondsDouble | ( | ) | const |
Nice::I64 Nice::Time::toNanoSeconds | ( | ) | const |
Nice::I64 Nice::Time::toNanoSeconds | ( | ) | const |
long Nice::Time::toSeconds | ( | ) | const |
long Nice::Time::toSeconds | ( | ) | const |
double Nice::Time::toSecondsDouble | ( | ) | const |
double Nice::Time::toSecondsDouble | ( | ) | const |
std::string Nice::Time::toString | ( | int | _precision = 9 | ) | const |
std::string Nice::Time::toString | ( | int | _precision = 9 | ) | const |