opendnp3  3.1.0
Reference implementation of DNP3 (IEEE-1815)
opendnp3::Counter Class Reference

Counters are used for describing generally increasing values (non-negative!). More...

#include <opendnp3/app/MeasurementTypes.h>

Public Member Functions

 Counter ()
 
 Counter (uint32_t value)
 
 Counter (uint32_t value, Flags flags)
 
 Counter (uint32_t value, Flags flags, DNPTime time)
 

Additional Inherited Members

- Public Types inherited from opendnp3::TypedMeasurement< uint32_t >
typedef uint32_t Type
 
- Public Attributes inherited from opendnp3::TypedMeasurement< uint32_t >
uint32_t value
 
- Public Attributes inherited from opendnp3::Measurement
Flags flags
 
DNPTime time
 
- Protected Member Functions inherited from opendnp3::TypedMeasurement< uint32_t >
 TypedMeasurement ()
 
 TypedMeasurement (Flags flags)
 
 TypedMeasurement (uint32_t value, Flags flags)
 
 TypedMeasurement (uint32_t value, Flags flags, DNPTime time)
 
- Protected Member Functions inherited from opendnp3::Measurement
 Measurement ()
 
 Measurement (Flags flags)
 
 Measurement (Flags flags, DNPTime time)
 

Detailed Description

Counters are used for describing generally increasing values (non-negative!).

Good examples are total power consumed, max voltage. Think odometer on a car.

Definition at line 121 of file MeasurementTypes.h.

Constructor & Destructor Documentation

◆ Counter() [1/4]

opendnp3::Counter::Counter ( )

◆ Counter() [2/4]

opendnp3::Counter::Counter ( uint32_t  value)
explicit

◆ Counter() [3/4]

opendnp3::Counter::Counter ( uint32_t  value,
Flags  flags 
)

◆ Counter() [4/4]

opendnp3::Counter::Counter ( uint32_t  value,
Flags  flags,
DNPTime  time 
)

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