dnp3 (C++ API) 1.1.0
dnp3::Timestamp Struct Reference

Timestamp value. More...

#include <dnp3.hpp>

Static Public Member Functions

static Timestamp invalid_timestamp ()
 Creates an invalid timestamp struct. More...
 
static Timestamp synchronized_timestamp (uint64_t value)
 Creates a synchronized timestamp struct. More...
 
static Timestamp unsynchronized_timestamp (uint64_t value)
 Creates an unsynchronized timestamp struct. More...
 

Public Attributes

uint64_t value
 Timestamp value. More...
 
TimeQuality quality
 Timestamp quality. More...
 

Friends

class CppTimestampFriend
 

Detailed Description

Timestamp value.

Member Function Documentation

◆ invalid_timestamp()

static Timestamp dnp3::Timestamp::invalid_timestamp ( )
static

Creates an invalid timestamp struct.

Note
Values are initialized to:
Returns
New instance of Timestamp

◆ synchronized_timestamp()

static Timestamp dnp3::Timestamp::synchronized_timestamp ( uint64_t  value)
static

Creates a synchronized timestamp struct.

Note
Values are initialized to:
Parameters
valueTimestamp value
Returns
New instance of Timestamp

◆ unsynchronized_timestamp()

static Timestamp dnp3::Timestamp::unsynchronized_timestamp ( uint64_t  value)
static

Creates an unsynchronized timestamp struct.

Note
Values are initialized to:
Parameters
valueTimestamp value
Returns
New instance of Timestamp

Member Data Documentation

◆ quality

TimeQuality dnp3::Timestamp::quality

Timestamp quality.

◆ value

uint64_t dnp3::Timestamp::value

Timestamp value.


The documentation for this struct was generated from the following file: