Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cListBase Class Reference

#include <tools.h>

Inheritance diagram for cListBase:

Inheritance graph
[legend]
Collaboration diagram for cListBase:

Collaboration graph
[legend]

Detailed Description

Basic object listing.

Definition at line 161 of file tools.h.

Public Methods

virtual ~cListBase ()
void Add (cListObject *Object, cListObject *After=NULL)
void Ins (cListObject *Object, cListObject *Before=NULL)
void Del (cListObject *Object, bool DeleteObject=true)
virtual void Move (int From, int To)
void Move (cListObject *From, cListObject *To)
virtual void Clear (void)
cListObjectGet (int Index) const
int Count (void) const
void Sort (void)

Protected Methods

 cListBase (void)

Protected Attributes

cListObjectobjects
cListObjectlastObject


Constructor & Destructor Documentation

cListBase::cListBase void    [protected]
 

Definition at line 806 of file tools.c.

References lastObject, and objects.

cListBase::~cListBase   [virtual]
 

Definition at line 811 of file tools.c.

References Clear().


Member Function Documentation

void cListBase::Add cListObject   Object,
cListObject   After = NULL
 

Definition at line 816 of file tools.c.

References cListObject::Append(), cListObject::Insert(), lastObject, cListObject::Next(), and objects.

Referenced by cMarks::Add(), cOsdMenu::Add(), cSchedules::AddChannelID(), cSchedule::AddEvent(), cPluginManager::AddPlugin(), cAudio::cAudio(), cRemote::cRemote(), cStatus::cStatus(), I18nRegister(), cRecordings::Load(), cConfig< cDiseqc >::Load(), cKeys::PutSetup(), and cSetup::Store().

void cListBase::Clear void    [virtual]
 

Reimplemented in cConfig< T >, cOsdMenu, cConfig< cSource >, cConfig< cKeyMacro >, cConfig< cSetupLine >, cConfig< cSVDRPhost >, cConfig< cCaDefinition >, cConfig< cCommand >, cConfig< cChannel >, cConfig< cKey >, cConfig< cMark >, cConfig< cTimer >, and cConfig< cDiseqc >.

Definition at line 886 of file tools.c.

References lastObject, cListObject::Next(), and objects.

Referenced by cOsdMenu::Clear(), cConfig< cDiseqc >::Clear(), cRecordings::Load(), and ~cListBase().

int cListBase::Count void    const
 

Definition at line 906 of file tools.c.

References cListObject::Next(), and objects.

Referenced by cCuttingThread::cCuttingThread(), cSVDRP::CmdDELR(), cMenuRecordings::Commands(), cOsdMenu::CursorDown(), cOsdMenu::Del(), cMenuRecordings::Delete(), cMenuChannels::Delete(), cOsdMenu::Display(), cMenuTimers::Edit(), cMenuChannels::Edit(), cPluginManager::HasPlugins(), cPluginManager::Housekeeping(), cRecordings::Load(), cOsdMenu::Mark(), cReplayControl::MarkJump(), cSchedule::NumEvents(), cOsdMenu::PageDown(), cOsdMenu::PageUp(), cMenuRecordings::ProcessKey(), cMenuSchedule::ProcessKey(), cMenuWhatsOn::ProcessKey(), cMenuRecordings::Rewind(), cMenuRecordings::Summary(), and cMenuTimers::Summary().

void cListBase::Del cListObject   Object,
bool    DeleteObject = true
 

Definition at line 846 of file tools.c.

References lastObject, cListObject::Next(), objects, cListObject::Prev(), and cListObject::Unlink().

Referenced by cSchedule::Cleanup(), cOsdMenu::Del(), cMenuRecordings::Delete(), I18nRegister(), cReplayControl::MarkToggle(), cPluginManager::Shutdown(), cSetup::Store(), cSetup::StoreCaCaps(), and cStatus::~cStatus().

cListObject * cListBase::Get int    Index const
 

Reimplemented in cList< T >, cList< cSource >, cList< cKeyMacro >, cList< cOsdItem >, cList< cSetupLine >, cList< cAudio >, cList< cDll >, cList< cSVDRPhost >, cList< cCaDefinition >, cList< cRemote >, cList< cCommand >, cList< cEventInfo >, cList< cChannel >, cList< cRecording >, cList< cI18nEntry >, cList< cStatus >, cList< cKey >, cList< cMark >, cList< cTimer >, cList< cDiseqc >, and cList< cSchedule >.

Definition at line 896 of file tools.c.

References cListObject::Next(), and objects.

Referenced by cList< cSchedule >::Get(), and Move().

void cListBase::Ins cListObject   Object,
cListObject   Before = NULL
 

Definition at line 831 of file tools.c.

References cListObject::Append(), cListObject::Insert(), lastObject, objects, and cListObject::Prev().

Referenced by cOsdMenu::Ins().

void cListBase::Move cListObject   From,
cListObject   To
 

Definition at line 862 of file tools.c.

References cListObject::Append(), cListObject::Index(), lastObject, cListObject::Next(), objects, cListObject::Prev(), and cListObject::Unlink().

void cListBase::Move int    From,
int    To
[virtual]
 

Reimplemented in cMenuChannels, and cMenuTimers.

Definition at line 857 of file tools.c.

References Get().

Referenced by cMenuTimers::Move(), cMenuChannels::Move(), cOsdMenu::ProcessKey(), and Sort().

void cListBase::Sort void   
 

Reimplemented in cMarks.

Definition at line 918 of file tools.c.

References Move(), cListObject::Next(), and objects.

Referenced by cMenuTimers::cMenuTimers(), cRecordings::Load(), and cSetup::Save().


Field Documentation

cListObject * cListBase::lastObject [protected]
 

Definition at line 163 of file tools.h.

Referenced by Add(), Clear(), cListBase(), Del(), Ins(), cList< cSchedule >::Last(), and Move().

cListObject* cListBase::objects [protected]
 

Definition at line 163 of file tools.h.

Referenced by Add(), Clear(), cListBase(), Count(), Del(), cList< cSchedule >::First(), Get(), Ins(), Move(), and Sort().


The documentation for this class was generated from the following files:
Generated on Wed Feb 5 23:31:19 2003 for VDR by doxygen1.3-rc2