opendnp3  3.1.0
Reference implementation of DNP3 (IEEE-1815)
opendnp3::DNPTime Struct Reference

#include <opendnp3/app/DNPTime.h>

Public Member Functions

 DNPTime ()
 
 DNPTime (uint64_t value)
 
 DNPTime (uint64_t value, TimestampQuality quality)
 
bool operator== (const DNPTime &rhs) const
 

Public Attributes

TimestampQuality quality
 
uint64_t value
 

Detailed Description

Definition at line 30 of file DNPTime.h.

Constructor & Destructor Documentation

◆ DNPTime() [1/3]

opendnp3::DNPTime::DNPTime ( )
inline

Definition at line 32 of file DNPTime.h.

◆ DNPTime() [2/3]

opendnp3::DNPTime::DNPTime ( uint64_t  value)
inlineexplicit

Definition at line 33 of file DNPTime.h.

◆ DNPTime() [3/3]

opendnp3::DNPTime::DNPTime ( uint64_t  value,
TimestampQuality  quality 
)
inline

Definition at line 34 of file DNPTime.h.

Member Function Documentation

◆ operator==()

bool opendnp3::DNPTime::operator== ( const DNPTime rhs) const
inline

Definition at line 36 of file DNPTime.h.

References quality, and value.

Member Data Documentation

◆ quality

TimestampQuality opendnp3::DNPTime::quality

Definition at line 42 of file DNPTime.h.

Referenced by operator==().

◆ value

uint64_t opendnp3::DNPTime::value

Definition at line 41 of file DNPTime.h.

Referenced by operator==().


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