xorp

RoundRobinQueue Class Reference

The Round-robin queue. More...

#include <round_robin.hh>

List of all members.

Public Member Functions

void push (RoundRobinObjBase *obj, int weight)
void pop_obj (RoundRobinObjBase *obj)
void pop ()
RoundRobinObjBaseget_next_entry ()
size_t size () const
 Get the number of elements in the heap.

Private Member Functions

void link_object (RoundRobinObjBase *obj, int weight)
void unlink_object (RoundRobinObjBase *obj)

Private Attributes

RoundRobinObjBase_next_to_run
int _run_count
int _elements

Detailed Description

The Round-robin queue.


Member Function Documentation

size_t RoundRobinQueue::size ( ) const [inline]

Get the number of elements in the heap.

Returns:
the number of elements in the heap.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations