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  

MobiCache Class Reference

Inheritance diagram for MobiCache:

RouteCache TclObject List of all members.

Public Member Functions

 MobiCache (const ID &MAC_id, const ID &net_id, int psize=30, int ssize=34)
 MobiCache ()
 ~MobiCache ()
void noticeDeadLink (const ID &from, const ID &to, Time t)
void noticeRouteUsed (const Path &route, Time t, const ID &who_from)
void addRoute (const Path &route, Time t, const ID &who_from)
bool findRoute (ID dest, Path &route, int for_use=0)
int command (int argc, const char *const *argv)

Protected Attributes

Cacheprimary_cache
Cachesecondary_cache

Friends

class Cache
class MobiHandler

Constructor & Destructor Documentation

MobiCache::MobiCache const ID   MAC_id,
const ID   net_id,
int    psize = 30,
int    ssize = 34
 

MobiCache::MobiCache  
 

MobiCache::~MobiCache  
 


Member Function Documentation

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

Implements RouteCache.

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

Reimplemented from RouteCache.

bool MobiCache::findRoute ID    dest,
Path   route,
int    for_use = 0
[virtual]
 

Implements RouteCache.

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

Implements RouteCache.

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

Implements RouteCache.


Friends And Related Function Documentation

friend class Cache [friend]
 

friend class MobiHandler [friend]
 


Member Data Documentation

Cache* MobiCache::primary_cache [protected]
 

Cache* MobiCache::secondary_cache [protected]
 


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