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  

CalendarScheduler Class Reference

#include <scheduler.h>

Inheritance diagram for CalendarScheduler:

Scheduler TclObject RealTimeScheduler List of all members.

Public Member Functions

 CalendarScheduler ()
 ~CalendarScheduler ()
void cancel (Event *)
void insert (Event *)
Eventlookup (scheduler_uid_t uid)
Eventdeque ()
const Eventhead ()

Protected Member Functions

virtual void reinit (int nbuck, double bwidth, double start)
virtual void resize (int newsize, double start)
virtual double newwidth (int newsize)

Protected Attributes

double width_
double diff0_
double diff1_
double diff2_
int stat_qsize_
int nbuckets_
int lastbucket_
int top_threshold_
int bot_threshold_
int qsize_

Private Member Functions

virtual void insert2 (Event *)

Private Attributes

double cal_clock_

Constructor & Destructor Documentation



Member Function Documentation

void CalendarScheduler::cancel Event   [virtual]

Implements Scheduler.

Event * CalendarScheduler::deque   [virtual]

Implements Scheduler.

const Event * CalendarScheduler::head   [virtual]

Implements Scheduler.

void CalendarScheduler::insert Event   [virtual]

Implements Scheduler.

void CalendarScheduler::insert2 Event   [private, virtual]

Event * CalendarScheduler::lookup scheduler_uid_t    uid [virtual]

Implements Scheduler.

double CalendarScheduler::newwidth int    newsize [protected, virtual]

void CalendarScheduler::reinit int    nbuck,
double    bwidth,
double    start
[protected, virtual]

void CalendarScheduler::resize int    newsize,
double    start
[protected, virtual]

Member Data Documentation

int CalendarScheduler::bot_threshold_ [protected]

struct CalendarScheduler::Bucket * CalendarScheduler::buckets_ [protected]

double CalendarScheduler::cal_clock_ [private]

double CalendarScheduler::diff0_ [protected]

double CalendarScheduler::diff1_ [protected]

double CalendarScheduler::diff2_ [protected]

int CalendarScheduler::lastbucket_ [protected]

int CalendarScheduler::nbuckets_ [protected]

int CalendarScheduler::qsize_ [protected]

int CalendarScheduler::stat_qsize_ [protected]

int CalendarScheduler::top_threshold_ [protected]

double CalendarScheduler::width_ [protected]

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