dtn::RoutePrioritySort Struct Reference

Functor class to sort a vector of routes based on forwarding priority, using the bytes queued on the link to break ties. More...

#include <RouteEntry.h>

List of all members.

Public Member Functions

bool operator() (RouteEntry *a, RouteEntry *b)


Detailed Description

Functor class to sort a vector of routes based on forwarding priority, using the bytes queued on the link to break ties.

Definition at line 219 of file RouteEntry.h.


Member Function Documentation

bool dtn::RoutePrioritySort::operator() ( RouteEntry a,
RouteEntry b 
) [inline]

Definition at line 220 of file RouteEntry.h.

References dtn::RouteEntry::link(), and dtn::RouteEntry::priority().


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

Generated on Fri Jan 30 09:27:05 2009 for DTN Reference Implementation by  doxygen 1.5.8