cCiMenu Class Reference

#include <ci.h>

Collaboration diagram for cCiMenu:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ~cCiMenu ()
const char * TitleText (void)
const char * SubTitleText (void)
const char * BottomText (void)
const char * Entry (int n)
int NumEntries (void)
bool Selectable (void)
bool Select (int Index)
bool Cancel (void)
bool Abort (void)
bool HasUpdate (void)

Private Types

enum  { MAX_CIMENU_ENTRIES = 64 }

Private Member Functions

bool AddEntry (char *s)
 cCiMenu (cCiMMI *MMI, bool Selectable)

Private Attributes

cCiMMImmi
cMutexmutex
bool selectable
char * titleText
char * subTitleText
char * bottomText
char * entries [MAX_CIMENU_ENTRIES]
int numEntries

Friends

class cCiHandler
class cCiMMI


Detailed Description

Definition at line 20 of file ci.h.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
MAX_CIMENU_ENTRIES 

Definition at line 24 of file ci.h.


Constructor & Destructor Documentation

cCiMenu::cCiMenu ( cCiMMI MMI,
bool  Selectable 
) [private]

Definition at line 1389 of file ci.c.

References bottomText, mmi, mutex, numEntries, selectable, subTitleText, and titleText.

cCiMenu::~cCiMenu (  ) 

Definition at line 1398 of file ci.c.

References bottomText, entries, cCiMMI::Menu(), mmi, mutex, numEntries, subTitleText, and titleText.

Here is the call graph for this function:


Member Function Documentation

bool cCiMenu::AddEntry ( char *  s  )  [private]

Definition at line 1410 of file ci.c.

References entries, MAX_CIMENU_ENTRIES, and numEntries.

Referenced by cCiMMI::Process().

const char* cCiMenu::TitleText ( void   )  [inline]

Definition at line 37 of file ci.h.

References titleText.

Referenced by cMenuCam::cMenuCam().

const char* cCiMenu::SubTitleText ( void   )  [inline]

Definition at line 38 of file ci.h.

References subTitleText.

Referenced by cMenuCam::cMenuCam().

const char* cCiMenu::BottomText ( void   )  [inline]

Definition at line 39 of file ci.h.

References bottomText.

Referenced by cMenuCam::cMenuCam().

const char* cCiMenu::Entry ( int  n  )  [inline]

Definition at line 40 of file ci.h.

References entries, and numEntries.

Referenced by cMenuCam::cMenuCam().

int cCiMenu::NumEntries ( void   )  [inline]

Definition at line 41 of file ci.h.

References numEntries.

Referenced by cMenuCam::cMenuCam().

bool cCiMenu::Selectable ( void   )  [inline]

Definition at line 42 of file ci.h.

References selectable.

Referenced by cMenuCam::cMenuCam(), and cMenuCam::Select().

bool cCiMenu::Select ( int  Index  ) 

Definition at line 1425 of file ci.c.

References dbgprotocol, mmi, mutex, numEntries, cCiMMI::SendMenuAnswer(), and cCiSession::SessionId().

Referenced by Cancel(), and cMenuCam::Select().

Here is the call graph for this function:

bool cCiMenu::Cancel ( void   ) 

Definition at line 1434 of file ci.c.

References Select().

Referenced by cMenuCam::ProcessKey(), and cMenuCam::Select().

Here is the call graph for this function:

bool cCiMenu::Abort ( void   ) 

Definition at line 1439 of file ci.c.

References mmi, mutex, and cCiMMI::SendCloseMMI().

Referenced by cMenuCam::~cMenuCam().

Here is the call graph for this function:

bool cCiMenu::HasUpdate ( void   ) 

Definition at line 1419 of file ci.c.

References cCiMMI::HasUserIO(), and mmi.

Referenced by cMenuCam::ProcessKey().

Here is the call graph for this function:


Friends And Related Function Documentation

friend class cCiHandler [friend]

Definition at line 21 of file ci.h.

friend class cCiMMI [friend]

Definition at line 22 of file ci.h.


Member Data Documentation

cCiMMI* cCiMenu::mmi [private]

Definition at line 25 of file ci.h.

Referenced by Abort(), cCiMenu(), HasUpdate(), Select(), ~cCiMenu(), and cCiMMI::~cCiMMI().

cMutex* cCiMenu::mutex [private]

Definition at line 26 of file ci.h.

Referenced by Abort(), cCiMenu(), cCiHandler::GetMenu(), Select(), ~cCiMenu(), and cCiMMI::~cCiMMI().

bool cCiMenu::selectable [private]

Definition at line 27 of file ci.h.

Referenced by cCiMenu(), and Selectable().

char* cCiMenu::titleText [private]

Definition at line 28 of file ci.h.

Referenced by cCiMenu(), cCiMMI::Process(), TitleText(), and ~cCiMenu().

char* cCiMenu::subTitleText [private]

Definition at line 29 of file ci.h.

Referenced by cCiMenu(), cCiMMI::Process(), SubTitleText(), and ~cCiMenu().

char* cCiMenu::bottomText [private]

Definition at line 30 of file ci.h.

Referenced by BottomText(), cCiMenu(), cCiMMI::Process(), and ~cCiMenu().

char* cCiMenu::entries[MAX_CIMENU_ENTRIES] [private]

Definition at line 31 of file ci.h.

Referenced by AddEntry(), Entry(), and ~cCiMenu().

int cCiMenu::numEntries [private]

Definition at line 32 of file ci.h.

Referenced by AddEntry(), cCiMenu(), Entry(), NumEntries(), Select(), and ~cCiMenu().


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