vdr 2.7.7
cDisplayChannel Class Reference

#include <menu.h>

Public Member Functions

 cDisplayChannel (int Number, bool Switched)
 cDisplayChannel (eKeys FirstKey)
virtual ~cDisplayChannel () override
virtual eOSState ProcessKey (eKeys Key) override
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() [2/2]

◆ ~cDisplayChannel()

cDisplayChannel::~cDisplayChannel ( )
overridevirtual

Definition at line 4882 of file menu.c.

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

Member Function Documentation

◆ DisplayChannel()

void cDisplayChannel::DisplayChannel ( void )
private

◆ DisplayInfo()

◆ IsOpen()

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()

◆ Refresh()

void cDisplayChannel::Refresh ( void )
private

Definition at line 4916 of file menu.c.

References DisplayChannel(), and displayChannel.

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: