OpenDDS  Snapshot(2023/04/07-19:43)
Public Member Functions | Public Attributes | List of all members
OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo Struct Reference
Inheritance diagram for OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo:
Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo:
Collaboration graph
[legend]

Public Member Functions

typedef OPENDDS_MAP (SequenceNumber, ReceivedDataSample) HeldMap
 
 OPENDDS_MAP (SequenceNumber, RTPS::FragmentNumber_t) frags_
 
 WriterInfo (const GUID_t &id, const MonotonicTime_t &participant_discovered_at, ACE_CDR::ULong participant_flags)
 
bool should_nack () const
 
bool sends_directed_hb () const
 
- Public Member Functions inherited from OpenDDS::DCPS::RcObject
virtual ~RcObject ()
 
virtual void _add_ref ()
 
virtual void _remove_ref ()
 
long ref_count () const
 
WeakObject_get_weak_object () const
 

Public Attributes

const GUID_t id_
 
const MonotonicTime_t participant_discovered_at_
 
DisjointSequence recvd_
 
HeldMap held_
 
SequenceNumber hb_last_
 
CORBA::Long heartbeat_recvd_count_
 
CORBA::Long hb_frag_recvd_count_
 
const ACE_CDR::ULong participant_flags_
 

Additional Inherited Members

- Protected Member Functions inherited from OpenDDS::DCPS::RcObject
 RcObject ()
 

Detailed Description

Definition at line 588 of file RtpsUdpDataLink.h.

Constructor & Destructor Documentation

◆ WriterInfo()

OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::WriterInfo ( const GUID_t id,
const MonotonicTime_t participant_discovered_at,
ACE_CDR::ULong  participant_flags 
)
inline

Definition at line 599 of file RtpsUdpDataLink.h.

Member Function Documentation

◆ OPENDDS_MAP() [1/2]

typedef OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::OPENDDS_MAP ( SequenceNumber  ,
ReceivedDataSample   
)

◆ OPENDDS_MAP() [2/2]

OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::OPENDDS_MAP ( SequenceNumber  ,
RTPS::FragmentNumber_t   
)

◆ sends_directed_hb()

bool OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::sends_directed_hb ( ) const

Definition at line 2026 of file RtpsUdpDataLink.cpp.

References OpenDDS::RTPS::PFLAGS_DIRECTED_HEARTBEAT.

2027 {
2029 }
const OpenDDSParticipantFlagsBits_t PFLAGS_DIRECTED_HEARTBEAT
Definition: RtpsCore.idl:322

◆ should_nack()

bool OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::should_nack ( ) const

Definition at line 2015 of file RtpsUdpDataLink.cpp.

2016 {
2017  if (recvd_.empty() || (recvd_.disjoint() && recvd_.cumulative_ack() < hb_last_)) {
2018  return true;
2019  }
2020  if (!recvd_.empty()) {
2021  return recvd_.high() < hb_last_;
2022  }
2023  return false;
2024 }
SequenceNumber cumulative_ack() const

Member Data Documentation

◆ hb_frag_recvd_count_

CORBA::Long OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::hb_frag_recvd_count_

Definition at line 596 of file RtpsUdpDataLink.h.

◆ hb_last_

SequenceNumber OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::hb_last_

Definition at line 594 of file RtpsUdpDataLink.h.

◆ heartbeat_recvd_count_

CORBA::Long OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::heartbeat_recvd_count_

Definition at line 596 of file RtpsUdpDataLink.h.

◆ held_

HeldMap OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::held_

Definition at line 593 of file RtpsUdpDataLink.h.

◆ id_

const GUID_t OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::id_

Definition at line 589 of file RtpsUdpDataLink.h.

◆ participant_discovered_at_

const MonotonicTime_t OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::participant_discovered_at_

Definition at line 590 of file RtpsUdpDataLink.h.

◆ participant_flags_

const ACE_CDR::ULong OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::participant_flags_

Definition at line 597 of file RtpsUdpDataLink.h.

◆ recvd_

DisjointSequence OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::recvd_

Definition at line 591 of file RtpsUdpDataLink.h.


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