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

The Binary data type is for describing on-off (boolean) type values. More...

#include <opendnp3/app/MeasurementTypes.h>

Public Member Functions

 Binary ()
 
 Binary (bool value)
 
 Binary (bool value, Flags flags)
 
 Binary (bool value, Flags flags, DNPTime time)
 
 Binary (Flags flags)
 
 Binary (Flags flags, DNPTime time)
 

Additional Inherited Members

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

Detailed Description

The Binary data type is for describing on-off (boolean) type values.

Good examples of binaries are alarms, mode settings, enabled/disabled flags etc. Think of it as a status LED on a piece of equipment.

Definition at line 35 of file MeasurementTypes.h.

Constructor & Destructor Documentation

◆ Binary() [1/6]

opendnp3::Binary::Binary ( )

◆ Binary() [2/6]

opendnp3::Binary::Binary ( bool  value)
explicit

◆ Binary() [3/6]

opendnp3::Binary::Binary ( Flags  flags)
explicit

◆ Binary() [4/6]

opendnp3::Binary::Binary ( Flags  flags,
DNPTime  time 
)

◆ Binary() [5/6]

opendnp3::Binary::Binary ( bool  value,
Flags  flags 
)

◆ Binary() [6/6]

opendnp3::Binary::Binary ( bool  value,
Flags  flags,
DNPTime  time 
)

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