OpenDDS::DCPS::TransportReassembly::FragKey Struct Reference

Collaboration diagram for OpenDDS::DCPS::TransportReassembly::FragKey:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FragKey (const PublicationId &pubId, const SequenceNumber &dataSampleSeq)
bool operator< (const FragKey &rhs) const

Public Attributes

PublicationId publication_
SequenceNumber data_sample_seq_

Static Public Attributes

static GUID_tKeyLessThan compare_

Detailed Description

Definition at line 59 of file TransportReassembly.h.


Constructor & Destructor Documentation

OpenDDS::DCPS::TransportReassembly::FragKey::FragKey ( const PublicationId pubId,
const SequenceNumber dataSampleSeq 
)

Definition at line 18 of file TransportReassembly.cpp.

00020   : publication_(pubId)
00021   , data_sample_seq_(dataSampleSeq)
00022 {
00023 }


Member Function Documentation

bool OpenDDS::DCPS::TransportReassembly::FragKey::operator< ( const FragKey rhs  )  const [inline]

Definition at line 62 of file TransportReassembly.h.

References data_sample_seq_, and publication_.

00063     {
00064       if (compare_(this->publication_, rhs.publication_)) return true;
00065       if (compare_(rhs.publication_, this->publication_)) return false;
00066       return this->data_sample_seq_ < rhs.data_sample_seq_;
00067     }


Member Data Documentation

GUID_tKeyLessThan OpenDDS::DCPS::TransportReassembly::FragKey::compare_ [static]

Definition at line 69 of file TransportReassembly.h.

SequenceNumber OpenDDS::DCPS::TransportReassembly::FragKey::data_sample_seq_

Definition at line 71 of file TransportReassembly.h.

Referenced by operator<().

PublicationId OpenDDS::DCPS::TransportReassembly::FragKey::publication_

Definition at line 70 of file TransportReassembly.h.

Referenced by operator<().


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