OpenDDS  Snapshot(2023/04/07-19:43)
Public Member Functions | Public Attributes | List of all members
OpenDDS::DCPS::InternalMessageCountKey Struct Reference

#include <TransportStatistics.h>

Collaboration diagram for OpenDDS::DCPS::InternalMessageCountKey:
Collaboration graph
[legend]

Public Member Functions

 InternalMessageCountKey (const NetworkAddress &a_address, MessageCountKind a_kind, bool a_relay)
 
bool operator< (const InternalMessageCountKey &other) const
 

Public Attributes

NetworkAddress address
 
MessageCountKind kind
 
bool relay
 

Detailed Description

Definition at line 21 of file TransportStatistics.h.

Constructor & Destructor Documentation

◆ InternalMessageCountKey()

OpenDDS::DCPS::InternalMessageCountKey::InternalMessageCountKey ( const NetworkAddress a_address,
MessageCountKind  a_kind,
bool  a_relay 
)
inline

Definition at line 26 of file TransportStatistics.h.

29  : address(a_address)
30  , kind(a_kind)
31  , relay(a_relay)
32  {}

Member Function Documentation

◆ operator<()

bool OpenDDS::DCPS::InternalMessageCountKey::operator< ( const InternalMessageCountKey other) const
inline

Definition at line 34 of file TransportStatistics.h.

References address, and kind.

35  {
36  if (address != other.address) {
37  return address < other.address;
38  }
39  return kind < other.kind;
40  }

Member Data Documentation

◆ address

NetworkAddress OpenDDS::DCPS::InternalMessageCountKey::address

Definition at line 22 of file TransportStatistics.h.

Referenced by operator<().

◆ kind

MessageCountKind OpenDDS::DCPS::InternalMessageCountKey::kind

Definition at line 23 of file TransportStatistics.h.

Referenced by operator<().

◆ relay

bool OpenDDS::DCPS::InternalMessageCountKey::relay

Definition at line 24 of file TransportStatistics.h.


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