#include <FwdStrategy.h>
Public Member Functions | |
virtual | ~FwdStrategyCompGRTRMAX () |
Destructor. | |
virtual bool | operator() (const Bundle *a, const Bundle *b) const |
Comparator function for FIFO ordering in a heap. | |
const Table * | remote_nodes () const |
Accessors. | |
Protected Member Functions | |
FwdStrategyCompGRTRMAX (FwdStrategy::fwd_strategy_t fs, const Table *remote) | |
Constructor is protected to restrict access to factory method. | |
Protected Attributes | |
const Table * | remote_ |
list of routes known by peer node | |
Friends | |
class | FwdStrategy |
for factory method |
Definition at line 165 of file FwdStrategy.h.
virtual prophet::FwdStrategyCompGRTRMAX::~FwdStrategyCompGRTRMAX | ( | ) | [inline, virtual] |
Destructor.
Definition at line 171 of file FwdStrategy.h.
prophet::FwdStrategyCompGRTRMAX::FwdStrategyCompGRTRMAX | ( | FwdStrategy::fwd_strategy_t | fs, | |
const Table * | remote | |||
) | [inline, protected] |
Constructor is protected to restrict access to factory method.
Definition at line 189 of file FwdStrategy.h.
virtual bool prophet::FwdStrategyCompGRTRMAX::operator() | ( | const Bundle * | a, | |
const Bundle * | b | |||
) | const [inline, virtual] |
Comparator function for FIFO ordering in a heap.
Reimplemented from prophet::FwdStrategyComp.
Definition at line 173 of file FwdStrategy.h.
References prophet::Table::p_value(), and remote_.
const Table* prophet::FwdStrategyCompGRTRMAX::remote_nodes | ( | ) | const [inline] |
friend class FwdStrategy [friend] |
for factory method
Reimplemented from prophet::FwdStrategyComp.
Definition at line 184 of file FwdStrategy.h.
const Table* prophet::FwdStrategyCompGRTRMAX::remote_ [protected] |
list of routes known by peer node
Definition at line 193 of file FwdStrategy.h.
Referenced by operator()(), and remote_nodes().