8 #ifndef SCHEDULINGBUNDLEINDEX_H_
9 #define SCHEDULINGBUNDLEINDEX_H_
13 #include <ibrcommon/thread/Mutex.h>
43 struct CMP_BUNDLE_PRIORITY
78 if (complete_payloadlength_lhs < complete_payloadlength_rhs)
80 if (complete_payloadlength_lhs != complete_payloadlength_rhs)
87 typedef std::set<dtn::data::MetaBundle, CMP_BUNDLE_PRIORITY> priority_index;
88 priority_index _priority_index;
89 ibrcommon::Mutex _index_mutex;
virtual const std::set< dtn::data::EID > getDistinctDestinations()
virtual dtn::data::Length getPayloadLength() const
virtual ~SchedulingBundleIndex()
virtual void add(const dtn::data::MetaBundle &b)