#include <ProphetLists.h>
Definition at line 704 of file ProphetLists.h.
Public Member Functions | |
virtual | ~FwdStrategy () |
FwdStrategy (const FwdStrategy &fs) | |
bool | operator() (const Bundle *, const Bundle *) const |
Static Public Member Functions | |
static FwdStrategy * | strategy (Prophet::fwd_strategy_t fs, ProphetTable *local=NULL, ProphetTable *remote=NULL) |
Factory method for strategy comparators. | |
Protected Member Functions | |
FwdStrategy (Prophet::fwd_strategy_t fs=Prophet::INVALID_FS) | |
Protected Attributes | |
Prophet::fwd_strategy_t | fs_ |
virtual dtn::FwdStrategy::~FwdStrategy | ( | ) | [inline, virtual] |
Definition at line 707 of file ProphetLists.h.
dtn::FwdStrategy::FwdStrategy | ( | const FwdStrategy & | fs | ) | [inline] |
dtn::FwdStrategy::FwdStrategy | ( | Prophet::fwd_strategy_t | fs = Prophet::INVALID_FS |
) | [inline, protected] |
Definition at line 719 of file ProphetLists.h.
Reimplemented in dtn::FwdStrategyCompGRTRSORT, and dtn::FwdStrategyCompGRTRMAX.
Definition at line 711 of file ProphetLists.h.
FwdStrategy * dtn::FwdStrategy::strategy | ( | Prophet::fwd_strategy_t | fs, | |
ProphetTable * | local = NULL , |
|||
ProphetTable * | remote = NULL | |||
) | [inline, static] |
Factory method for strategy comparators.
Definition at line 781 of file ProphetLists.h.
References ExamineDump::f, FwdStrategy(), dtn::Prophet::GRTR, dtn::Prophet::GRTR_MAX, dtn::Prophet::GRTR_PLUS, dtn::Prophet::GRTR_SORT, dtn::Prophet::GTMX, and dtn::Prophet::GTMX_PLUS.
Referenced by dtn::ProphetEncounter::send_bundle_offer().
Prophet::fwd_strategy_t dtn::FwdStrategy::fs_ [protected] |
Definition at line 722 of file ProphetLists.h.