ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

RouteCache Class Reference

#include <routecache.h>

Inheritance diagram for RouteCache:

TclObject MobiCache List of all members.

Public Member Functions

 RouteCache ()
 ~RouteCache ()
virtual void noticeDeadLink (const ID &from, const ID &to, Time t)=0
virtual void noticeRouteUsed (const Path &route, Time t, const ID &who_from)=0
virtual void addRoute (const Path &route, Time t, const ID &who_from)=0
virtual bool findRoute (ID dest, Path &route, int for_use)=0
virtual int command (int argc, const char *const *argv)
void trace (char *fmt,...)
int pre_addRoute (const Path &route, Path &rt, Time t, const ID &who_from)
int pre_noticeRouteUsed (const Path &p, Path &stub, Time t, const ID &who_from)
virtual void dump (FILE *out)

Public Attributes

ID MAC_id
ID net_id

Protected Attributes

Tracelogtarget

Constructor & Destructor Documentation

RouteCache::RouteCache  
 

RouteCache::~RouteCache  
 


Member Function Documentation

virtual void RouteCache::addRoute const Path   route,
Time    t,
const ID   who_from
[pure virtual]
 

Implemented in MobiCache.

int RouteCache::command int    argc,
const char *const *    argv
[virtual]
 

Reimplemented from TclObject.

Reimplemented in MobiCache.

void RouteCache::dump FILE *    out [virtual]
 

virtual bool RouteCache::findRoute ID    dest,
Path   route,
int    for_use
[pure virtual]
 

Implemented in MobiCache.

virtual void RouteCache::noticeDeadLink const ID   from,
const ID   to,
Time    t
[pure virtual]
 

Implemented in MobiCache.

virtual void RouteCache::noticeRouteUsed const Path   route,
Time    t,
const ID   who_from
[pure virtual]
 

Implemented in MobiCache.

int RouteCache::pre_addRoute const Path   route,
Path   rt,
Time    t,
const ID   who_from
 

int RouteCache::pre_noticeRouteUsed const Path   p,
Path   stub,
Time    t,
const ID   who_from
 

void RouteCache::trace char *    fmt,
...   
 


Member Data Documentation

Trace* RouteCache::logtarget [protected]
 

ID RouteCache::MAC_id
 

ID RouteCache::net_id
 


The documentation for this class was generated from the following files:
This document is generated by doxygen.