|
xorp
|
The Round-robin queue. More...
#include <round_robin.hh>
Public Member Functions | |
| void | push (RoundRobinObjBase *obj, int weight) |
| void | pop_obj (RoundRobinObjBase *obj) |
| void | pop () |
| RoundRobinObjBase * | get_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 |
The Round-robin queue.
| size_t RoundRobinQueue::size | ( | ) | const [inline] |