#include <metric.h>
Collaboration diagram for RouteInfo:
Public Member Functions | |
RouteInfo () | |
virtual | ~RouteInfo () |
void | addChild (RouteInfo *c) |
int | getNChild () |
RouteInfo * | getChild (int i) |
void | addFather (RouteInfo *f) |
RouteInfo * | getFather () |
void | setModuleId (int id) |
int | getModuleId () |
void | addMetric (Metric *m) |
Metric * | getMetric (const char *m) |
Metric * | getMetric (int i) |
int | getNMetric () |
Reachability | reachability () |
void | setReachability (Reachability a) |
Protected Attributes | |
RouteInfo * | father_ |
RouteInfo ** | child_ |
int | nChild_ |
int | lengthChild_ |
Reachability | reachability_ |
MetricList | list_ |
int | moduleId_ |
Definition at line 111 of file metric.h.
Reachability RouteInfo::reachability_ [protected] |
A reachability awareness which can be used in order to give information about how the destination can be reached (e.g. for a reactive routing protocol it could say "I can try")
Definition at line 140 of file metric.h.
Referenced by reachability(), RouteInfo(), and setReachability().
MetricList RouteInfo::list_ [protected] |
The list of the eported metrics
Definition at line 144 of file metric.h.
Referenced by addMetric(), getMetric(), and getNMetric().