| - -( dyne // software :: culture :: events :: planet :: discussion :: museum \\ freaknet )- - |
#include <radiosched.h>
Inherited by Scheduler_text, and Scheduler_xml.
Inheritance diagram for Basic_scheduler:


Public Member Functions | |
| Basic_scheduler (const void *sched) | |
| virtual | ~Basic_scheduler () |
| void | register_mixer (Stream_mixer *mix) |
| virtual void | run () |
| virtual bool | stop () |
| virtual bool | play () |
| virtual void | on_wakeup () |
| virtual void | load_schedule () |
| virtual void | on_load_schedule ()=0 |
| void | set_schedule (const void *s) |
| void | start () |
| void | lock () |
| void | unlock () |
| void | wait () |
| void | signal () |
Public Attributes | |
| bool | on |
| bool | running |
| bool | quit |
| Channel * | channel |
Protected Member Functions | |
| bool | match (const char *left, int right) |
| void | stop_channel (void) |
| bool | start_channel (Url *rec) |
| void | dump () |
| print schedule to stdout; for debugging | |
| void | stop_inner_channel (void) |
| bool | start_inner_channel (Url *rec) |
| void | stop_mixer_channel (Url *rec) |
| bool | start_mixer_channel (Url *rec) |
Static Protected Member Functions | |
| void * | kickoff (void *arg) |
Protected Attributes | |
| bool | play_code |
| last start_channel() return code | |
| const void * | _schedule |
| Playlist * | playlist |
| time_t | prev_time |
| Url * | playing |
| Stream_mixer * | mixer |
|
|
|
|
|
|
|
|
print schedule to stdout; for debugging
|
|
|
Definition at line 107 of file radiosched.h. |
|
|
Definition at line 86 of file radiosched.h. |
|
|
Definition at line 100 of file radiosched.h. |
|
||||||||||||
|
|
|
|
The only func to be written for child classes. Implemented in Scheduler_text, and Scheduler_xml. |
|
|
|
|
|
|
|
|
Definition at line 80 of file radiosched.h. |
|
|
|
|
|
Definition at line 90 of file radiosched.h. |
|
|
Definition at line 103 of file radiosched.h. |
|
|
Definition at line 98 of file radiosched.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 101 of file radiosched.h. |
|
|
Definition at line 102 of file radiosched.h. |
|
|
Definition at line 116 of file radiosched.h. |
|
|
Definition at line 95 of file radiosched.h. |
|
|
Definition at line 127 of file radiosched.h. |
|
|
Definition at line 92 of file radiosched.h. |
|
|
last start_channel() return code
Definition at line 112 of file radiosched.h. |
|
|
Definition at line 122 of file radiosched.h. |
|
|
Definition at line 117 of file radiosched.h. |
|
|
Definition at line 119 of file radiosched.h. |
|
|
Definition at line 94 of file radiosched.h. |
|
|
Definition at line 93 of file radiosched.h. |
|
|
|
|
| Copyleft 2000 - 2008 dyne.org foundation and respective authors. Verbatim copying and distribution is permitted in any medium, provided this notice is preserved. Send inquiries & questions to dyne.org's hackers. |
|