Timestamp value returned by AssociationHandler::get_current_time().
More...
#include <dnp3.hpp>
|
uint64_t | value |
| Value of the timestamp (in milliseconds from UNIX Epoch). More...
|
|
bool | is_valid |
| True if the timestamp is valid, false otherwise. More...
|
|
|
class | CppUtcTimestampFriend |
|
◆ invalid()
◆ valid()
static UtcTimestamp dnp3::UtcTimestamp::valid |
( |
uint64_t |
value | ) |
|
|
static |
Construct a valid UtcTimestamp.
- Note
- Values are initialized to:
- Parameters
-
value | Value of the timestamp (in milliseconds from UNIX Epoch). |
- Returns
- New instance of UtcTimestamp
◆ is_valid
bool dnp3::UtcTimestamp::is_valid |
True if the timestamp is valid, false otherwise.
◆ value
uint64_t dnp3::UtcTimestamp::value |
Value of the timestamp (in milliseconds from UNIX Epoch).
- Warning
- Only 48 bits are available for timestamps.
The documentation for this struct was generated from the following file: