IBR-DTNSuite
0.12
|
#include <SchedulingBundleIndex.h>
Public Member Functions | |
SchedulingBundleIndex () | |
virtual | ~SchedulingBundleIndex () |
virtual void | add (const dtn::data::MetaBundle &b) |
virtual void | remove (const dtn::data::BundleID &id) |
virtual void | get (const dtn::storage::BundleSelector &cb, dtn::storage::BundleResult &result) throw (dtn::storage::NoBundleFoundException, dtn::storage::BundleSelectorException) |
virtual const std::set < dtn::data::EID > | getDistinctDestinations () |
Public Member Functions inherited from dtn::storage::BundleIndex | |
BundleIndex () | |
virtual | ~BundleIndex ()=0 |
Public Member Functions inherited from dtn::storage::BundleSeeker | |
virtual | ~BundleSeeker () |
Additional Inherited Members | |
Public Types inherited from dtn::storage::BundleSeeker | |
typedef std::set< dtn::data::EID > | eid_set |
Definition at line 19 of file SchedulingBundleIndex.h.
dtn::routing::SchedulingBundleIndex::SchedulingBundleIndex | ( | ) |
Definition at line 14 of file SchedulingBundleIndex.cpp.
|
virtual |
Definition at line 18 of file SchedulingBundleIndex.cpp.
|
virtual |
Implements dtn::storage::BundleIndex.
Definition at line 22 of file SchedulingBundleIndex.cpp.
|
virtual |
Query the database for a number of bundles. The bundles are selected with the BundleSelector class which is to implement by the user of this method.
cb | The instance of the callback filter class. |
Implements dtn::storage::BundleSeeker.
Definition at line 41 of file SchedulingBundleIndex.cpp.
|
virtual |
Return a set of distinct destinations for all bundles in the storage.
Implements dtn::storage::BundleSeeker.
Definition at line 62 of file SchedulingBundleIndex.cpp.
References dtn::data::MetaBundle::destination.
|
virtual |
Implements dtn::storage::BundleIndex.
Definition at line 28 of file SchedulingBundleIndex.cpp.