Strong typing for millisecond based time durations.
More...
#include <opendnp3/util/TimeDuration.h>
|
std::chrono::steady_clock::duration | value |
|
Strong typing for millisecond based time durations.
Definition at line 33 of file TimeDuration.h.
◆ TimeDuration() [1/2]
opendnp3::TimeDuration::TimeDuration |
( |
| ) |
|
◆ TimeDuration() [2/2]
opendnp3::TimeDuration::TimeDuration |
( |
std::chrono::steady_clock::duration |
value | ) |
|
|
explicitprivate |
◆ Double()
◆ FromValue()
template<class T >
static TimeDuration opendnp3::TimeDuration::FromValue |
( |
int64_t |
value | ) |
|
|
staticprivate |
◆ IsNegative()
bool opendnp3::TimeDuration::IsNegative |
( |
| ) |
const |
◆ Max()
◆ Milliseconds()
static TimeDuration opendnp3::TimeDuration::Milliseconds |
( |
int64_t |
milliseconds | ) |
|
|
static |
◆ Min()
◆ Minutes()
static TimeDuration opendnp3::TimeDuration::Minutes |
( |
int64_t |
minutes | ) |
|
|
static |
◆ operator<()
◆ operator<=()
◆ operator==()
◆ operator>()
◆ operator>=()
◆ Seconds()
static TimeDuration opendnp3::TimeDuration::Seconds |
( |
int64_t |
seconds | ) |
|
|
static |
◆ ToString()
std::string opendnp3::TimeDuration::ToString |
( |
| ) |
const |
◆ Zero()
◆ Timestamp
◆ value
std::chrono::steady_clock::duration opendnp3::TimeDuration::value |
The documentation for this class was generated from the following file: