22 #ifndef MEMORYBUNDLESTORAGE_H_
23 #define MEMORYBUNDLESTORAGE_H_
41 static const std::string
TAG;
113 virtual const std::string
getName()
const;
122 ibrcommon::Mutex _bundleslock;
124 typedef std::set<dtn::data::
Bundle> bundle_list;
125 bundle_list _bundles;
128 void __erase(const bundle_list::iterator &iter);
130 struct CMP_BUNDLE_PRIORITY
144 typedef std::set<dtn::data::MetaBundle, CMP_BUNDLE_PRIORITY> prio_bundle_set;
145 prio_bundle_set _priority_index;
147 typedef std::map<dtn::data::BundleID, dtn::data::Length> size_map;
148 size_map _bundle_lengths;