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  

ClientPagePool Class Reference

#include <pagepool.h>

Inheritance diagram for ClientPagePool:

PagePool TclObject TclObject MClientPagePool List of all members.

Public Member Functions

 ClientPagePool ()
virtual ~ClientPagePool ()
virtual ClientPageenter_page (int argc, const char *const *argv)
virtual ClientPageenter_metadata (int argc, const char *const *argv)
virtual ClientPageenter_page (const char *name, int size, double mt, double et, double age)
virtual ClientPageenter_metadata (const char *name, int size, double mt, double et, double age)
virtual int remove_page (const char *name)
void invalidate_server (int server_id)
ClientPageget_page (const char *name)
int get_mtime (const char *name, double &mt)
int set_mtime (const char *name, double mt)
int exist_page (const char *name)
int get_size (const char *name, int &size)
int get_age (const char *name, double &age)
int get_etime (const char *name, double &et)
int set_etime (const char *name, double et)
int get_pageinfo (const char *name, char *buf)
virtual int command (int argc, const char *const *argv)

Protected Member Functions

int add_page (ClientPage *pg)

Protected Attributes


Constructor & Destructor Documentation


ClientPagePool::~ClientPagePool   [virtual]

Member Function Documentation

int ClientPagePool::add_page ClientPage   pg [protected]

int ClientPagePool::command int    argc,
const char *const *    argv

Reimplemented from PagePool.

Reimplemented in MClientPagePool.

ClientPage * ClientPagePool::enter_metadata const char *    name,
int    size,
double    mt,
double    et,
double    age

ClientPage * ClientPagePool::enter_metadata int    argc,
const char *const *    argv

ClientPage * ClientPagePool::enter_page const char *    name,
int    size,
double    mt,
double    et,
double    age

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

Reimplemented in MClientPagePool.

int ClientPagePool::exist_page const char *    name [inline]

int ClientPagePool::get_age const char *    name,
double   age

int ClientPagePool::get_etime const char *    name,
double   et

int ClientPagePool::get_mtime const char *    name,
double   mt

ClientPage * ClientPagePool::get_page const char *    name

int ClientPagePool::get_pageinfo const char *    name,
char *    buf

int ClientPagePool::get_size const char *    name,
int &    size

void ClientPagePool::invalidate_server int    server_id

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

Reimplemented in MClientPagePool.

int ClientPagePool::set_etime const char *    name,
double    et

int ClientPagePool::set_mtime const char *    name,
double    mt

Member Data Documentation

Tcl_HashTable* ClientPagePool::namemap_ [protected]

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