vdr  2.0.5
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cListBase Class Reference

#include <tools.h>

Public Member Functions

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 Member Functions

 cListBase (void)
 

Protected Attributes

cListObjectobjects
 
cListObjectlastObject
 
int count
 

Detailed Description

Definition at line 461 of file tools.h.

Constructor & Destructor Documentation

cListBase::cListBase ( void  )
protected

Definition at line 1934 of file tools.c.

References count, lastObject, and objects.

cListBase::~cListBase ( )
virtual

Definition at line 1940 of file tools.c.

References Clear().

Member Function Documentation

void cListBase::Add ( cListObject Object,
cListObject After = NULL 
)
void cListBase::Clear ( void  )
virtual
int cListBase::Count ( void  ) const
inline

Definition at line 475 of file tools.h.

Referenced by cSectionHandler::Action(), cDvbSubtitleConverter::Action(), cMenuTimers::ActualiseDiskStatus(), AssertFreeDiskSpace(), cCuttingThread::cCuttingThread(), cSVDRP::CmdCPYR(), cSVDRP::CmdDELR(), cSVDRP::CmdEDIT(), cSVDRP::CmdLSTR(), cSVDRP::CmdLSTT(), cSVDRP::CmdMOVR(), cSVDRP::CmdPLAY(), cMenuEditRecording::cMenuEditRecording(), cMenuSetupOSD::cMenuSetupOSD(), cMenuRecordings::Commands(), cMenuTimers::Commands(), cOsdMenu::CursorDown(), cOsdMenu::CursorUp(), CutRecording(), cOsdMenu::Del(), cMenuRecordings::Delete(), cMenuChannels::Delete(), cOsdMenu::Display(), cMenuRecordings::Edit(), cMenuChannels::Edit(), cMenuTimers::Edit(), cReplayControl::EditCut(), cCaDescriptors::Empty(), cDvbSubtitleConverter::ExtractSegment(), cDvbSubtitleConverter::FinishPage(), cDvbSubtitlePage::GetAreas(), cDevice::GetDevice(), cPluginManager::HasPlugins(), cPluginManager::Housekeeping(), cMenuRecordings::Info(), cMenuTimers::Info(), cCamSlot::IsDecrypting(), cOsdMenu::Mark(), cReplayControl::MarkJump(), cOsdMenu::PageDown(), cOsdMenu::PageUp(), cEITScanner::Process(), cCamSlot::Process(), cMenuRecordings::ProcessKey(), cMenuTimers::ProcessKey(), cMenuWhatsOn::ProcessKey(), cMenuSchedule::ProcessKey(), cCuttingThread::ProcessSequence(), cMenuRecordings::Rewind(), cCamSlot::SendCaPmt(), cPictureMenu::Set(), cMenuMain::Set(), cMenuCam::Set(), cMenuRecordings::SetHelpKeys(), cChannel::SetLinkChannels(), Sort(), cCamSlot::StopDecrypting(), and cRecordings::Update().

void cListBase::Del ( cListObject Object,
bool  DeleteObject = true 
)
cListObject * cListBase::Get ( int  Index) const

Definition at line 2029 of file tools.c.

References cListObject::Next(), and objects.

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

void cListBase::Ins ( cListObject Object,
cListObject Before = NULL 
)
void cListBase::Move ( int  From,
int  To 
)
virtual

Reimplemented in cMenuChannels.

Definition at line 1989 of file tools.c.

References Get().

Referenced by cSVDRP::CmdMOVC(), cMenuChannels::Move(), and cOsdMenu::ProcessKey().

void cListBase::Move ( cListObject From,
cListObject To 
)
void cListBase::Sort ( void  )

Member Data Documentation

int cListBase::count
protected

Definition at line 465 of file tools.h.

Referenced by Add(), Clear(), cListBase(), cOsdMenu::Del(), Del(), cOsdMenu::Display(), Ins(), and Sort().

cListObject * cListBase::lastObject
protected

Definition at line 463 of file tools.h.

Referenced by Add(), Clear(), cListBase(), Del(), Ins(), Move(), and Sort().

cListObject* cListBase::objects
protected

Definition at line 463 of file tools.h.

Referenced by Add(), Clear(), cListBase(), Del(), Get(), Ins(), Move(), and Sort().


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