Public Member Functions | |
bool | operator() (const RakeData &lhs, const RakeData &rhs) const |
SortedSetCmp () | |
SortedSetCmp (ComparatorBase::Ptr cmp) | |
Private Attributes | |
ComparatorBase::Ptr | cmp_ |
Definition at line 57 of file GroupRakeData.h.
OpenDDS::DCPS::GroupRakeData::SortedSetCmp::SortedSetCmp | ( | ) | [inline] |
Definition at line 68 of file GroupRakeData.h.
OpenDDS::DCPS::GroupRakeData::SortedSetCmp::SortedSetCmp | ( | ComparatorBase::Ptr | cmp | ) | [inline, explicit] |
Definition at line 69 of file GroupRakeData.h.
00069 : cmp_(cmp){}
bool OpenDDS::DCPS::GroupRakeData::SortedSetCmp::operator() | ( | const RakeData & | lhs, | |
const RakeData & | rhs | |||
) | const [inline] |
Definition at line 59 of file GroupRakeData.h.
References OpenDDS::DCPS::RakeData::rde_, and OpenDDS::DCPS::ReceivedDataElement::source_timestamp_.
00059 { 00060 if (!cmp_.in()) { 00061 // The following assumes that if no comparator is set 00062 // then BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS is used. 00063 return lhs.rde_->source_timestamp_ < rhs.rde_->source_timestamp_; 00064 } 00065 00066 return false; 00067 }
Definition at line 72 of file GroupRakeData.h.