OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo Struct Reference

Collaboration diagram for OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OPENDDS_MAP (SequenceNumber, ReceivedDataSample) held_
 OPENDDS_MAP (SequenceNumber, RTPS::FragmentNumber_t) frags_
 WriterInfo ()
bool should_nack () const

Public Attributes

DisjointSequence recvd_
SequenceRange hb_range_
bool ack_pending_
bool initial_hb_
CORBA::Long heartbeat_recvd_count_
CORBA::Long hb_frag_recvd_count_
CORBA::Long acknack_count_
CORBA::Long nackfrag_count_

Detailed Description

Definition at line 232 of file RtpsUdpDataLink.h.


Constructor & Destructor Documentation

OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::WriterInfo (  )  [inline]

Definition at line 241 of file RtpsUdpDataLink.h.


Member Function Documentation

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

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

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

Definition at line 1181 of file RtpsUdpDataLink.cpp.

References OpenDDS::DCPS::DisjointSequence::cumulative_ack(), OpenDDS::DCPS::DisjointSequence::disjoint(), OpenDDS::DCPS::DisjointSequence::empty(), hb_range_, OpenDDS::DCPS::DisjointSequence::high(), and recvd_.

Referenced by OpenDDS::DCPS::RtpsUdpDataLink::process_heartbeat_i().

01182 {
01183   if (recvd_.disjoint() && recvd_.cumulative_ack() < hb_range_.second) {
01184     return true;
01185   }
01186   if (!recvd_.empty()) {
01187     return recvd_.high() < hb_range_.second;
01188   }
01189   return false;
01190 }


Member Data Documentation

bool OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::ack_pending_

Definition at line 237 of file RtpsUdpDataLink.h.

Referenced by OpenDDS::DCPS::RtpsUdpDataLink::process_heartbeat_i().

CORBA::Long OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::acknack_count_

Definition at line 238 of file RtpsUdpDataLink.h.

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

Definition at line 238 of file RtpsUdpDataLink.h.

SequenceRange OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::hb_range_

Definition at line 235 of file RtpsUdpDataLink.h.

Referenced by OpenDDS::DCPS::RtpsUdpDataLink::generate_nack_frags(), OpenDDS::DCPS::RtpsUdpDataLink::RtpsReader::nack_durable(), OpenDDS::DCPS::RtpsUdpDataLink::process_heartbeat_i(), and should_nack().

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

Definition at line 238 of file RtpsUdpDataLink.h.

Referenced by OpenDDS::DCPS::RtpsUdpDataLink::process_heartbeat_i().

bool OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::initial_hb_

Definition at line 237 of file RtpsUdpDataLink.h.

Referenced by OpenDDS::DCPS::RtpsUdpDataLink::process_heartbeat_i().

CORBA::Long OpenDDS::DCPS::RtpsUdpDataLink::WriterInfo::nackfrag_count_

Definition at line 238 of file RtpsUdpDataLink.h.

Referenced by OpenDDS::DCPS::RtpsUdpDataLink::generate_nack_frags().

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

Definition at line 233 of file RtpsUdpDataLink.h.

Referenced by OpenDDS::DCPS::RtpsUdpDataLink::deliver_held_data(), OpenDDS::DCPS::RtpsUdpDataLink::generate_nack_frags(), OpenDDS::DCPS::RtpsUdpDataLink::RtpsReader::nack_durable(), OpenDDS::DCPS::RtpsUdpDataLink::process_heartbeat_i(), and should_nack().


The documentation for this struct was generated from the following files:
Generated on Fri Feb 12 20:06:36 2016 for OpenDDS by  doxygen 1.4.7