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

#include <opendnp3/link/Addresses.h>

Public Member Functions

 Addresses ()=default
 
 Addresses (uint16_t source, uint16_t destination)
 
bool IsBroadcast () const
 
bool operator!= (const Addresses &other) const
 
bool operator== (const Addresses &other) const
 
Addresses Reverse () const
 

Public Attributes

uint16_t destination = 0
 
uint16_t source = 0
 

Detailed Description

Definition at line 28 of file Addresses.h.

Constructor & Destructor Documentation

◆ Addresses() [1/2]

opendnp3::Addresses::Addresses ( )
default

Referenced by Reverse().

◆ Addresses() [2/2]

opendnp3::Addresses::Addresses ( uint16_t  source,
uint16_t  destination 
)
inline

Definition at line 32 of file Addresses.h.

Member Function Documentation

◆ IsBroadcast()

bool opendnp3::Addresses::IsBroadcast ( ) const

◆ operator!=()

bool opendnp3::Addresses::operator!= ( const Addresses other) const
inline

Definition at line 44 of file Addresses.h.

◆ operator==()

bool opendnp3::Addresses::operator== ( const Addresses other) const
inline

Definition at line 39 of file Addresses.h.

References destination, and source.

◆ Reverse()

Addresses opendnp3::Addresses::Reverse ( ) const
inline

Definition at line 34 of file Addresses.h.

References Addresses(), destination, and source.

Member Data Documentation

◆ destination

uint16_t opendnp3::Addresses::destination = 0

Definition at line 52 of file Addresses.h.

Referenced by operator==(), and Reverse().

◆ source

uint16_t opendnp3::Addresses::source = 0

Definition at line 51 of file Addresses.h.

Referenced by operator==(), and Reverse().


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