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  

Cache Class Reference

List of all members.

Public Member Functions

 Cache (char *name, int size, MobiCache *rtcache)
 ~Cache ()
int pickVictim (int exclude=-1)
bool searchRoute (const ID &dest, int &i, Path &path, int &index)
PathaddRoute (Path &route, int &prefix_len)
void noticeDeadLink (const ID &from, const ID &to)

Private Attributes

int size
int victim_ptr
char * name


class MobiCache

Constructor & Destructor Documentation

Cache::Cache char *    name,
int    size,
MobiCache   rtcache


Member Function Documentation

Path * Cache::addRoute Path   route,
int &    prefix_len

void Cache::noticeDeadLink const ID   from,
const ID   to

int Cache::pickVictim int    exclude = -1

bool Cache::searchRoute const ID   dest,
int &    i,
Path   path,
int &    index

Friends And Related Function Documentation

friend class MobiCache [friend]

Member Data Documentation

Path* Cache::cache [private]

char* Cache::name [private]

MobiCache* Cache::routecache [private]

int Cache::size [private]

int Cache::victim_ptr [private]

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