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  

MClientPagePool Class Reference

#include <mcache.h>

Inheritance diagram for MClientPagePool:

ClientPagePool PagePool TclObject TclObject List of all members.

Public Member Functions

 MClientPagePool ()
virtual ClientPageenter_page (int argc, const char *const *argv)
virtual int remove_page (const char *name)
virtual int force_remove (const char *name)
int add_segment (const char *name, int layer, const MediaSegment &s)
void hc_update (const char *name, int max_layer)
int maxsize ()
int usedsize ()
void fill_page (const char *pgname)
void dump_hclist ()

Protected Types


Protected Member Functions

virtual int command (int argc, const char *const *argv)
virtual int cache_replace (ClientPage *page, int size)
int repl_finegrain (ClientPage *p, int size)
int repl_atomic (ClientPage *p, int size)

Protected Attributes

int max_size_
int used_size_
HitCountList hclist_
enum MClientPagePool:: { ... }  repl_style_

Member Enumeration Documentation

anonymous enum [protected]

Enumeration values:

Constructor & Destructor Documentation


Member Function Documentation

int MClientPagePool::add_segment const char *    name,
int    layer,
const MediaSegment   s

int MClientPagePool::cache_replace ClientPage   page,
int    size
[protected, virtual]

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

Reimplemented from ClientPagePool.

void MClientPagePool::dump_hclist   [inline]

ClientPage * MClientPagePool::enter_page int    argc,
const char *const *    argv

Reimplemented from ClientPagePool.

void MClientPagePool::fill_page const char *    pgname

int MClientPagePool::force_remove const char *    name [virtual]

void MClientPagePool::hc_update const char *    name,
int    max_layer

int MClientPagePool::maxsize   [inline]

int MClientPagePool::remove_page const char *    name [virtual]

Reimplemented from ClientPagePool.

int MClientPagePool::repl_atomic ClientPage   p,
int    size

int MClientPagePool::repl_finegrain ClientPage   p,
int    size

int MClientPagePool::usedsize   [inline]

Member Data Documentation

HitCountList MClientPagePool::hclist_ [protected]

int MClientPagePool::max_size_ [protected]

enum { ... } MClientPagePool::repl_style_ [protected]

int MClientPagePool::used_size_ [protected]

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