dtn::ProphetBundleOffer Class Reference

#include <ProphetLists.h>

Inheritance diagram for dtn::ProphetBundleOffer:

oasys::Logger

List of all members.


Detailed Description

Helper class to enforce forwarding strategies, used to organize BundleOfferTLV.

Definition at line 1051 of file ProphetLists.h.


Public Member Functions

 ProphetBundleOffer (const BundleList &bundles, FwdStrategy *comp, ProphetDecider *decider)
virtual ~ProphetBundleOffer ()
void push (Bundle *b)
void pop ()

Protected Types

typedef
std::priority_queue
< Bundle * > 
BundleQueue

Protected Attributes

BundleList list_
FwdStrategycomp_
ProphetDeciderdecide_

Member Typedef Documentation

typedef std::priority_queue<Bundle*> dtn::ProphetBundleOffer::BundleQueue [protected]

Definition at line 1055 of file ProphetLists.h.


Constructor & Destructor Documentation

dtn::ProphetBundleOffer::ProphetBundleOffer ( const BundleList bundles,
FwdStrategy comp,
ProphetDecider decider 
) [inline]

Definition at line 1057 of file ProphetLists.h.

References dtn::BundleList::begin(), dtn::BundleList::end(), ExamineDump::l, and dtn::BundleList::lock().

virtual dtn::ProphetBundleOffer::~ProphetBundleOffer (  )  [inline, virtual]

Definition at line 1073 of file ProphetLists.h.


Member Function Documentation

void dtn::ProphetBundleOffer::push ( Bundle b  )  [inline]

Definition at line 1074 of file ProphetLists.h.

References log_debug.

void dtn::ProphetBundleOffer::pop (  )  [inline]

Definition at line 1088 of file ProphetLists.h.


Member Data Documentation

BundleList dtn::ProphetBundleOffer::list_ [protected]

Definition at line 1095 of file ProphetLists.h.

FwdStrategy* dtn::ProphetBundleOffer::comp_ [protected]

Definition at line 1096 of file ProphetLists.h.

ProphetDecider* dtn::ProphetBundleOffer::decide_ [protected]

Definition at line 1097 of file ProphetLists.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 8 08:43:48 2007 for DTN Reference Implementation by  doxygen 1.5.3