#include <scheduler.h>
Collaboration diagram for schedule_iterator:

Public Member Functions | |
| ~schedule_iterator () | |
| closes down iterator (and removes writer on list). | |
| void | next () |
| go to next item. | |
| void | previous () |
| go to previous item. | |
| schedulable * | access () |
| access the current element. | |
| bool | is_head () |
| is schedule_iterator at the head? | |
| bool | is_tail () |
| is schedule_iterator at the tail? | |
| void | jump_head () |
| set the schedule_iterator to the head. | |
| void | jump_tail () |
| set the schedule_iterator to the tail. | |
Friends | |
| class | scheduler |
Definition at line 263 of file scheduler.h.
| schedule_iterator::~schedule_iterator | ( | ) |
closes down iterator (and removes writer on list).
NOTE: DO NOT CALL THIS YOURSELF. it must be public for visibility, but it is not intended for normal users of the scheduler object.
Definition at line 88 of file scheduler.cpp.
References NIL.
| void schedule_iterator::next | ( | ) |
go to next item.
Definition at line 90 of file scheduler.cpp.
References nodes::safe_list_write_iterator::next().
Referenced by scheduler::items_scheduled().
| void schedule_iterator::previous | ( | ) |
go to previous item.
Definition at line 92 of file scheduler.cpp.
References nodes::safe_list_write_iterator::previous().
| schedulable * schedule_iterator::access | ( | ) |
access the current element.
Definition at line 94 of file scheduler.cpp.
References nodes::safe_list_write_iterator::access().
Referenced by scheduler::items_scheduled(), scheduler::mark_dead(), and scheduler::zap().
| bool schedule_iterator::is_head | ( | ) |
is schedule_iterator at the head?
Definition at line 97 of file scheduler.cpp.
References nodes::safe_list_write_iterator::is_head().
| bool schedule_iterator::is_tail | ( | ) |
is schedule_iterator at the tail?
Definition at line 99 of file scheduler.cpp.
References nodes::safe_list_write_iterator::is_tail().
Referenced by scheduler::items_scheduled().
| void schedule_iterator::jump_head | ( | ) |
set the schedule_iterator to the head.
Definition at line 101 of file scheduler.cpp.
References nodes::safe_list_write_iterator::jump_head().
Referenced by scheduler::items_scheduled().
| void schedule_iterator::jump_tail | ( | ) |
set the schedule_iterator to the tail.
Definition at line 103 of file scheduler.cpp.
References nodes::safe_list_write_iterator::jump_tail().
friend class scheduler [friend] |
Definition at line 283 of file scheduler.h.
1.5.1