opendnp3  3.0.0
Reference implementation of DNP3 (IEEE-1815)
opendnp3::IDnpTimeSource Class Reference

Interface that defines a method to get DNPTime source. More...

#include <opendnp3/outstation/IDnpTimeSource.h>

Public Member Functions

virtual DNPTime Now ()
 Returns a DNPTime of the current time. More...
 

Detailed Description

Interface that defines a method to get DNPTime source.

Definition at line 31 of file IDnpTimeSource.h.

Member Function Documentation

◆ Now()

virtual DNPTime opendnp3::IDnpTimeSource::Now ( )
inlinevirtual

Returns a DNPTime of the current time.

This value is used when freezing counters.

Reimplemented in opendnp3::DefaultOutstationApplication.

Definition at line 39 of file IDnpTimeSource.h.

References opendnp3::INVALID.


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