Timestamp value returned by AssociationHandler::get_current_time().
More...
#include <dnp3.hpp>
|
|
class | CppUtcTimestampFriend |
| |
◆ invalid()
◆ valid()
| static UtcTimestamp dnp3::UtcTimestamp::valid |
( |
uint64_t |
value | ) |
|
|
static |
Construct a valid UtcTimestamp.
- Note
- Values are initialized to:
- Parameters
-
| value | Count of milliseconds since 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 |
Count of milliseconds since UNIX epoch.
- Warning
- Only the lower 48-bits are used in DNP3 timestamps and time synchronization
The documentation for this struct was generated from the following file: