vdr 2.6.7
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
cDisplayChannel Class Reference

#include <menu.h>

Public Member Functions

 cDisplayChannel (int Number, bool Switched)
 
 cDisplayChannel (eKeys FirstKey)
 
virtual ~cDisplayChannel ()
 
virtual eOSState ProcessKey (eKeys Key)
 
- Public Member Functions inherited from cOsdObject
 cOsdObject (bool FastResponse=false)
 
virtual ~cOsdObject ()
 
virtual bool NeedsFastResponse (void)
 
bool IsMenu (void) const
 
virtual void Show (void)
 

Static Public Member Functions

static bool IsOpen (void)
 

Private Member Functions

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

Private Attributes

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

Static Private Attributes

static cDisplayChannelcurrentDisplayChannel = NULL
 

Additional Inherited Members

- Protected Member Functions inherited from cOsdObject
void SetNeedsFastResponse (bool NeedsFastResponse)
 

Detailed Description

Definition at line 122 of file menu.h.

Constructor & Destructor Documentation

◆ cDisplayChannel() [1/2]

cDisplayChannel::cDisplayChannel ( int Number,
bool Switched )

◆ cDisplayChannel() [2/2]

cDisplayChannel::cDisplayChannel ( eKeys FirstKey)

◆ ~cDisplayChannel()

cDisplayChannel::~cDisplayChannel ( )
virtual

Definition at line 4858 of file menu.c.

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

Member Function Documentation

◆ DisplayChannel()

void cDisplayChannel::DisplayChannel ( void )
private

◆ DisplayInfo()

void cDisplayChannel::DisplayInfo ( void )
private

◆ IsOpen()

static bool cDisplayChannel::IsOpen ( void )
inlinestatic

Definition at line 145 of file menu.h.

References currentDisplayChannel.

Referenced by main().

◆ NextAvailableChannel()

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

◆ ProcessKey()

eOSState cDisplayChannel::ProcessKey ( eKeys Key)
virtual

◆ Refresh()

void cDisplayChannel::Refresh ( void )
private

Definition at line 4892 of file menu.c.

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

Referenced by ProcessKey().

Member Data Documentation

◆ channel

const cChannel* cDisplayChannel::channel
private

Definition at line 132 of file menu.h.

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

◆ currentDisplayChannel

cDisplayChannel * cDisplayChannel::currentDisplayChannel = NULL
staticprivate

Definition at line 135 of file menu.h.

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

◆ displayChannel

cSkinDisplayChannel* cDisplayChannel::displayChannel
private

◆ group

int cDisplayChannel::group
private

Definition at line 125 of file menu.h.

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

◆ lastFollowing

const cEvent* cDisplayChannel::lastFollowing
private

Definition at line 134 of file menu.h.

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

◆ lastPresent

const cEvent* cDisplayChannel::lastPresent
private

Definition at line 133 of file menu.h.

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

◆ lastTime

cTimeMs cDisplayChannel::lastTime
private

Definition at line 127 of file menu.h.

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

◆ number

int cDisplayChannel::number
private

Definition at line 128 of file menu.h.

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

◆ osdState

int cDisplayChannel::osdState
private

Definition at line 130 of file menu.h.

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

◆ positioner

const cPositioner* cDisplayChannel::positioner
private

Definition at line 131 of file menu.h.

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

◆ timeout

bool cDisplayChannel::timeout
private

Definition at line 129 of file menu.h.

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

◆ withInfo

bool cDisplayChannel::withInfo
private

Definition at line 126 of file menu.h.

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


The documentation for this class was generated from the following files: