prophet::FwdStrategyCompGRTRMAX Class Reference

#include <FwdStrategy.h>

Inheritance diagram for prophet::FwdStrategyCompGRTRMAX:

prophet::FwdStrategyComp

List of all members.

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 Tableremote_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 Tableremote_
 list of routes known by peer node

Friends

class FwdStrategy
 for factory method


Detailed Description

Definition at line 165 of file FwdStrategy.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Accessors.

Definition at line 180 of file FwdStrategy.h.

References remote_.


Friends And Related Function Documentation

friend class FwdStrategy [friend]

for factory method

Reimplemented from prophet::FwdStrategyComp.

Definition at line 184 of file FwdStrategy.h.


Member Data Documentation

list of routes known by peer node

Definition at line 193 of file FwdStrategy.h.

Referenced by operator()(), and remote_nodes().


The documentation for this class was generated from the following file:

Generated on Fri Jan 30 09:43:16 2009 for DTN Reference Implementation by  doxygen 1.5.8