cMenuSchedule Class Reference

Inheritance diagram for cMenuSchedule:

Inheritance graph
[legend]
Collaboration diagram for cMenuSchedule:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cMenuSchedule (void)
virtual ~cMenuSchedule ()
virtual eOSState ProcessKey (eKeys Key)

Private Member Functions

eOSState Number (void)
eOSState Record (void)
eOSState Switch (void)
void PrepareScheduleAllThis (const cEvent *Event, const cChannel *Channel)
void PrepareScheduleThisThis (const cEvent *Event, const cChannel *Channel)
void PrepareScheduleThisAll (const cEvent *Event, const cChannel *Channel)
void PrepareScheduleAllAll (const cEvent *Event, const cChannel *Channel)
bool Update (void)
void SetHelpKeys (void)

Private Attributes

cSchedulesLock schedulesLock
const cSchedulesschedules
bool now
bool next
int otherChannel
int helpKeys
int timerState


Detailed Description

Definition at line 1228 of file menu.c.


Constructor & Destructor Documentation

cMenuSchedule::cMenuSchedule ( void   ) 

Definition at line 1251 of file menu.c.

References Channels, cDevice::CurrentChannel(), cChannels::GetByNumber(), helpKeys, cTimers::Modified(), next, now, cChannel::Number(), otherChannel, PrepareScheduleAllThis(), cSchedules::Schedules(), schedules, schedulesLock, cMenuWhatsOn::SetCurrentChannel(), SetHelpKeys(), cMenuScheduleItem::SetSortMode(), cMenuScheduleItem::ssmAllThis, Timers, and timerState.

Here is the call graph for this function:

cMenuSchedule::~cMenuSchedule (  )  [virtual]

Definition at line 1269 of file menu.c.

References cMenuWhatsOn::ScheduleEvent().

Here is the call graph for this function:


Member Function Documentation

eOSState cMenuSchedule::Number ( void   )  [private]

Definition at line 1382 of file menu.c.

References cEvent::ChannelID(), Channels, cOsdMenu::Current(), cDevice::CurrentChannel(), cOsdMenu::Display(), cMenuScheduleItem::event, cList< cOsdItem >::Get(), cChannels::GetByChannelID(), cChannels::GetByNumber(), cMenuScheduleItem::IncSortMode(), osContinue, PrepareScheduleAllAll(), PrepareScheduleAllThis(), PrepareScheduleThisAll(), PrepareScheduleThisThis(), cOsdMenu::SetCurrent(), cListBase::Sort(), cMenuScheduleItem::SortMode(), cMenuScheduleItem::ssmAllAll, cMenuScheduleItem::ssmAllThis, cMenuScheduleItem::ssmThisAll, and cMenuScheduleItem::ssmThisThis.

Referenced by ProcessKey().

Here is the call graph for this function:

eOSState cMenuSchedule::Record ( void   )  [private]

Definition at line 1407 of file menu.c.

References cListBase::Add(), cOsdMenu::AddSubMenu(), cOsdMenu::CloseSubMenu(), cOsdMenu::Current(), cOsdMenu::Display(), cMenuScheduleItem::event, cList< cOsdItem >::Get(), cTimers::GetMatch(), cTimers::GetTimer(), cOsdMenu::HasSubMenu(), isyslog, cTimer::Matches(), NEWTIMERLIMIT, osContinue, SetHelpKeys(), cTimers::SetModified(), cMenuScheduleItem::timerMatch, Timers, tmFull, tmNone, cTimer::ToDescr(), and Update().

Referenced by ProcessKey().

Here is the call graph for this function:

eOSState cMenuSchedule::Switch ( void   )  [private]

Definition at line 1440 of file menu.c.

References Channels, cSkins::Message(), mtError, osContinue, osEnd, otherChannel, Skins, cChannels::SwitchTo(), and tr.

Referenced by ProcessKey().

Here is the call graph for this function:

void cMenuSchedule::PrepareScheduleAllThis ( const cEvent Event,
const cChannel Channel 
) [private]

Definition at line 1274 of file menu.c.

References cOsdMenu::Add(), cOsdMenu::Clear(), cSetup::EPGLinger, cSchedule::Events(), cList< T >::First(), cSchedule::GetPresentEvent(), cSchedules::GetSchedule(), cChannel::Name(), cList< T >::Next(), now, schedules, cOsdMenu::SetCols(), cOsdMenu::SetTitle(), Setup, and tr.

Referenced by cMenuSchedule(), Number(), and ProcessKey().

Here is the call graph for this function:

void cMenuSchedule::PrepareScheduleThisThis ( const cEvent Event,
const cChannel Channel 
) [private]

Definition at line 1295 of file menu.c.

References cOsdMenu::Add(), cOsdMenu::Clear(), cSetup::EPGLinger, cSchedule::Events(), cList< T >::First(), cSchedules::GetSchedule(), cChannel::Name(), cList< T >::Next(), now, schedules, cOsdMenu::SetCols(), cOsdMenu::SetTitle(), Setup, cEvent::Title(), and tr.

Referenced by Number().

Here is the call graph for this function:

void cMenuSchedule::PrepareScheduleThisAll ( const cEvent Event,
const cChannel Channel 
) [private]

Definition at line 1315 of file menu.c.

References cOsdMenu::Add(), Channels, CHNUMWIDTH, cOsdMenu::Clear(), cSetup::EPGLinger, cSchedule::Events(), cList< T >::First(), cSchedules::GetSchedule(), cList< T >::Next(), now, schedules, cOsdMenu::SetCols(), cOsdMenu::SetTitle(), Setup, cEvent::Title(), and tr.

Referenced by Number().

Here is the call graph for this function:

void cMenuSchedule::PrepareScheduleAllAll ( const cEvent Event,
const cChannel Channel 
) [private]

Definition at line 1334 of file menu.c.

References cOsdMenu::Add(), Channels, CHNUMWIDTH, cOsdMenu::Clear(), cSetup::EPGLinger, cSchedule::Events(), cList< T >::First(), cSchedules::GetSchedule(), cList< T >::Next(), now, schedules, cOsdMenu::SetCols(), cOsdMenu::SetTitle(), Setup, and tr.

Referenced by Number().

Here is the call graph for this function:

bool cMenuSchedule::Update ( void   )  [private]

Definition at line 1353 of file menu.c.

References cList< cOsdItem >::First(), cTimers::Modified(), cList< cOsdItem >::Next(), Timers, and timerState.

Referenced by ProcessKey(), and Record().

Here is the call graph for this function:

void cMenuSchedule::SetHelpKeys ( void   )  [private]

Definition at line 1365 of file menu.c.

References cOsdMenu::Current(), cList< cOsdItem >::Get(), helpKeys, cOsdMenu::SetHelp(), cMenuScheduleItem::timerMatch, tmFull, and tr.

Referenced by cMenuSchedule(), ProcessKey(), and Record().

Here is the call graph for this function:

eOSState cMenuSchedule::ProcessKey ( eKeys  Key  )  [virtual]

Reimplemented from cOsdMenu.

Definition at line 1450 of file menu.c.

References cOsdMenu::AddSubMenu(), cEvent::ChannelID(), Channels, cListBase::Count(), cOsdMenu::Current(), cDevice::CurrentChannel(), cMenuWhatsOn::CurrentChannel(), cOsdMenu::Display(), cList< cOsdItem >::Get(), cChannels::GetByChannelID(), cOsdMenu::HasSubMenu(), k0, kBlue, kGreen, kNone, kOk, kRecord, kRed, kYellow, next, now, cChannel::Number(), Number(), osUnknown, otherChannel, PrepareScheduleAllThis(), cOsdMenu::ProcessKey(), Record(), cMenuWhatsOn::ScheduleEvent(), schedules, cOsdMenu::SetHelp(), SetHelpKeys(), cMenuScheduleItem::SetSortMode(), cMenuScheduleItem::ssmAllThis, Switch(), tr, and Update().

Here is the call graph for this function:


Member Data Documentation

cSchedulesLock cMenuSchedule::schedulesLock [private]

Definition at line 1230 of file menu.c.

Referenced by cMenuSchedule().

const cSchedules* cMenuSchedule::schedules [private]

Definition at line 1231 of file menu.c.

Referenced by cMenuSchedule(), PrepareScheduleAllAll(), PrepareScheduleAllThis(), PrepareScheduleThisAll(), PrepareScheduleThisThis(), and ProcessKey().

bool cMenuSchedule::now [private]

Definition at line 1232 of file menu.c.

Referenced by cMenuSchedule(), PrepareScheduleAllAll(), PrepareScheduleAllThis(), PrepareScheduleThisAll(), PrepareScheduleThisThis(), and ProcessKey().

bool cMenuSchedule::next [private]

Definition at line 1232 of file menu.c.

Referenced by cMenuSchedule(), and ProcessKey().

int cMenuSchedule::otherChannel [private]

Definition at line 1233 of file menu.c.

Referenced by cMenuSchedule(), ProcessKey(), and Switch().

int cMenuSchedule::helpKeys [private]

Definition at line 1234 of file menu.c.

Referenced by cMenuSchedule(), and SetHelpKeys().

int cMenuSchedule::timerState [private]

Definition at line 1235 of file menu.c.

Referenced by cMenuSchedule(), and Update().


The documentation for this class was generated from the following file:
Generated on Tue Nov 6 20:17:52 2007 for VDR by  doxygen 1.5.3-20071008