|
opendnp3
3.1.0
Reference implementation of DNP3 (IEEE-1815)
|
Strong typing for millisecond-based monotonic timestamps. More...
#include <opendnp3/util/Timestamp.h>
Public Member Functions | |
| Timestamp () | |
| Timestamp (std::chrono::steady_clock::time_point value) | |
| bool | IsMax () const |
| bool | IsMin () const |
| bool | operator!= (const Timestamp &other) const |
| Timestamp | operator+ (const TimeDuration &duration) const |
| Timestamp & | operator+= (const TimeDuration &duration) |
| Timestamp | operator- (const TimeDuration &duration) const |
| TimeDuration | operator- (const Timestamp ×tamp) const |
| Timestamp & | operator-= (const TimeDuration &duration) |
| bool | operator< (const Timestamp &other) const |
| bool | operator<= (const Timestamp &other) const |
| bool | operator== (const Timestamp &other) const |
| bool | operator> (const Timestamp &other) const |
| bool | operator>= (const Timestamp &other) const |
Static Public Member Functions | |
| static Timestamp | Max () |
| static Timestamp | Min () |
Public Attributes | |
| std::chrono::steady_clock::time_point | value |
Strong typing for millisecond-based monotonic timestamps.
Definition at line 31 of file Timestamp.h.
| opendnp3::Timestamp::Timestamp | ( | ) |
|
explicit |
| bool opendnp3::Timestamp::IsMax | ( | ) | const |
| bool opendnp3::Timestamp::IsMin | ( | ) | const |
|
static |
|
static |
| Timestamp opendnp3::Timestamp::operator+ | ( | const TimeDuration & | duration | ) | const |
| Timestamp& opendnp3::Timestamp::operator+= | ( | const TimeDuration & | duration | ) |
| Timestamp opendnp3::Timestamp::operator- | ( | const TimeDuration & | duration | ) | const |
| TimeDuration opendnp3::Timestamp::operator- | ( | const Timestamp & | timestamp | ) | const |
| Timestamp& opendnp3::Timestamp::operator-= | ( | const TimeDuration & | duration | ) |
| std::chrono::steady_clock::time_point opendnp3::Timestamp::value |
Definition at line 59 of file Timestamp.h.