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