cDisplayChannel Class Reference

#include <menu.h>

Inheritance diagram for cDisplayChannel:

Inheritance graph
[legend]
Collaboration diagram for cDisplayChannel:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cDisplayChannel (int Number, bool Switched)
 cDisplayChannel (eKeys FirstKey)
virtual ~cDisplayChannel ()
virtual eOSState ProcessKey (eKeys Key)

Static Public Member Functions

static bool IsOpen (void)

Private Member Functions

void DisplayChannel (void)
void DisplayInfo (void)
void Refresh (void)
cChannelNextAvailableChannel (cChannel *Channel, int Direction)

Private Attributes

cSkinDisplayChanneldisplayChannel
int group
bool withInfo
cTimeMs lastTime
int number
bool timeout
cChannelchannel
const cEventlastPresent
const cEventlastFollowing

Static Private Attributes

static cDisplayChannelcurrentDisplayChannel = NULL


Detailed Description

Definition at line 75 of file menu.h.


Constructor & Destructor Documentation

cDisplayChannel::cDisplayChannel ( int  Number,
bool  Switched 
)

Definition at line 3048 of file menu.c.

References channel, Channels, cSkins::Current(), currentDisplayChannel, DisplayChannel(), cSkin::DisplayChannel(), displayChannel, DisplayInfo(), cSkinDisplay::Flush(), cChannels::GetByNumber(), group, lastFollowing, lastPresent, lastTime, number, cTimeMs::Set(), Setup, cSetup::ShowInfoOnChSwitch, Skins, timeout, cSetup::TimeoutRequChInfo, and withInfo.

Here is the call graph for this function:

cDisplayChannel::cDisplayChannel ( eKeys  FirstKey  ) 

Definition at line 3067 of file menu.c.

References channel, Channels, cSkins::Current(), cDevice::CurrentChannel(), currentDisplayChannel, cSkin::DisplayChannel(), displayChannel, cChannels::GetByNumber(), group, lastFollowing, lastPresent, lastTime, number, ProcessKey(), cTimeMs::Set(), Setup, cSetup::ShowInfoOnChSwitch, Skins, timeout, and withInfo.

Here is the call graph for this function:

cDisplayChannel::~cDisplayChannel (  )  [virtual]

Definition at line 3082 of file menu.c.

References currentDisplayChannel, displayChannel, and cStatus::MsgOsdClear().

Here is the call graph for this function:


Member Function Documentation

void cDisplayChannel::DisplayChannel ( void   )  [private]

Definition at line 3089 of file menu.c.

References channel, ChannelString(), displayChannel, lastFollowing, lastPresent, cStatus::MsgOsdChannel(), number, and cSkinDisplayChannel::SetChannel().

Referenced by cDisplayChannel(), and Refresh().

Here is the call graph for this function:

void cDisplayChannel::DisplayInfo ( void   )  [private]

Definition at line 3096 of file menu.c.

References channel, displayChannel, cSchedule::GetFollowingEvent(), cSchedule::GetPresentEvent(), cSchedules::GetSchedule(), lastFollowing, lastPresent, cStatus::MsgOsdProgramme(), cChannel::Number(), cSchedules::Schedules(), cSkinDisplayChannel::SetEvents(), SetTrackDescriptions(), cEvent::ShortText(), cEvent::StartTime(), cEvent::Title(), and withInfo.

Referenced by cDisplayChannel(), and ProcessKey().

Here is the call graph for this function:

void cDisplayChannel::Refresh ( void   )  [private]

Definition at line 3118 of file menu.c.

References displayChannel, DisplayChannel(), and cSkinDisplayChannel::SetEvents().

Referenced by ProcessKey().

Here is the call graph for this function:

cChannel * cDisplayChannel::NextAvailableChannel ( cChannel Channel,
int  Direction 
) [private]

Definition at line 3124 of file menu.c.

References Channels, cDevice::GetDevice(), cChannel::GroupSep(), cList< T >::Next(), cList< T >::Prev(), cDevice::PrimaryDevice(), cSetup::PrimaryLimit, cDevice::ProvidesChannel(), and Setup.

Referenced by ProcessKey().

Here is the call graph for this function:

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

Reimplemented from cOsdObject.

Definition at line 3136 of file menu.c.

References channel, cSetup::ChannelInfoTime, Channels, cDevice::CurrentChannel(), DIRECTCHANNELTIMEOUT, displayChannel, DisplayInfo(), cTimeMs::Elapsed(), cSkinDisplay::Flush(), cList< T >::Get(), cChannels::GetByNumber(), cChannels::GetNextGroup(), cChannels::GetNextNormal(), cChannels::GetPrevGroup(), group, cChannel::GroupSep(), cListObject::Index(), k0, k1, k9, k_Release, k_Repeat, kChanDn, kChanUp, kDown, kLeft, kNext, kNone, kOk, kPrev, kRight, kUp, lastTime, cChannels::MaxNumber(), cList< T >::Next(), NextAvailableChannel(), NORMALKEY, cChannel::Number(), number, osContinue, osEnd, cRemote::Put(), Refresh(), cTimeMs::Set(), SetTrackDescriptions(), Setup, cChannels::SwitchTo(), timeout, and withInfo.

Referenced by cDisplayChannel().

Here is the call graph for this function:

static bool cDisplayChannel::IsOpen ( void   )  [inline, static]

Definition at line 96 of file menu.h.

References currentDisplayChannel.

Referenced by main().


Member Data Documentation

cSkinDisplayChannel* cDisplayChannel::displayChannel [private]

Definition at line 77 of file menu.h.

Referenced by cDisplayChannel(), DisplayChannel(), DisplayInfo(), ProcessKey(), Refresh(), and ~cDisplayChannel().

int cDisplayChannel::group [private]

Definition at line 78 of file menu.h.

Referenced by cDisplayChannel(), and ProcessKey().

bool cDisplayChannel::withInfo [private]

Definition at line 79 of file menu.h.

Referenced by cDisplayChannel(), DisplayInfo(), and ProcessKey().

cTimeMs cDisplayChannel::lastTime [private]

Definition at line 80 of file menu.h.

Referenced by cDisplayChannel(), and ProcessKey().

int cDisplayChannel::number [private]

Definition at line 81 of file menu.h.

Referenced by cDisplayChannel(), DisplayChannel(), and ProcessKey().

bool cDisplayChannel::timeout [private]

Definition at line 82 of file menu.h.

Referenced by cDisplayChannel(), and ProcessKey().

cChannel* cDisplayChannel::channel [private]

Definition at line 83 of file menu.h.

Referenced by cDisplayChannel(), DisplayChannel(), DisplayInfo(), and ProcessKey().

const cEvent* cDisplayChannel::lastPresent [private]

Definition at line 84 of file menu.h.

Referenced by cDisplayChannel(), DisplayChannel(), and DisplayInfo().

const cEvent* cDisplayChannel::lastFollowing [private]

Definition at line 85 of file menu.h.

Referenced by cDisplayChannel(), DisplayChannel(), and DisplayInfo().

cDisplayChannel * cDisplayChannel::currentDisplayChannel = NULL [static, private]

Definition at line 86 of file menu.h.

Referenced by cDisplayChannel(), IsOpen(), and ~cDisplayChannel().


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