vdr 2.6.1
Public Member Functions | List of all members
cEpgHandlers Class Reference

#include <epg.h>

Public Member Functions

bool IgnoreChannel (const cChannel *Channel)
 
bool HandleEitEvent (cSchedule *Schedule, const SI::EIT::Event *EitEvent, uchar TableID, uchar Version)
 
bool HandledExternally (const cChannel *Channel)
 
bool IsUpdate (tEventID EventID, time_t StartTime, uchar TableID, uchar Version)
 
void SetEventID (cEvent *Event, tEventID EventID)
 
void SetTitle (cEvent *Event, const char *Title)
 
void SetShortText (cEvent *Event, const char *ShortText)
 
void SetDescription (cEvent *Event, const char *Description)
 
void SetContents (cEvent *Event, uchar *Contents)
 
void SetParentalRating (cEvent *Event, int ParentalRating)
 
void SetStartTime (cEvent *Event, time_t StartTime)
 
void SetDuration (cEvent *Event, int Duration)
 
void SetVps (cEvent *Event, time_t Vps)
 
void SetComponents (cEvent *Event, cComponents *Components)
 
void FixEpgBugs (cEvent *Event)
 
void HandleEvent (cEvent *Event)
 
void SortSchedule (cSchedule *Schedule)
 
void DropOutdated (cSchedule *Schedule, time_t SegmentStart, time_t SegmentEnd, uchar TableID, uchar Version)
 
bool BeginSegmentTransfer (const cChannel *Channel)
 
void EndSegmentTransfer (bool Modified)
 
bool IgnoreChannel (const cChannel *Channel)
 
bool HandleEitEvent (cSchedule *Schedule, const SI::EIT::Event *EitEvent, uchar TableID, uchar Version)
 
bool HandledExternally (const cChannel *Channel)
 
bool IsUpdate (tEventID EventID, time_t StartTime, uchar TableID, uchar Version)
 
void SetEventID (cEvent *Event, tEventID EventID)
 
void SetTitle (cEvent *Event, const char *Title)
 
void SetShortText (cEvent *Event, const char *ShortText)
 
void SetDescription (cEvent *Event, const char *Description)
 
void SetContents (cEvent *Event, uchar *Contents)
 
void SetParentalRating (cEvent *Event, int ParentalRating)
 
void SetStartTime (cEvent *Event, time_t StartTime)
 
void SetDuration (cEvent *Event, int Duration)
 
void SetVps (cEvent *Event, time_t Vps)
 
void SetComponents (cEvent *Event, cComponents *Components)
 
void FixEpgBugs (cEvent *Event)
 
void HandleEvent (cEvent *Event)
 
void SortSchedule (cSchedule *Schedule)
 
void DropOutdated (cSchedule *Schedule, time_t SegmentStart, time_t SegmentEnd, uchar TableID, uchar Version)
 
bool BeginSegmentTransfer (const cChannel *Channel)
 
void EndSegmentTransfer (bool Modified)
 
- Public Member Functions inherited from cList< cEpgHandler >
 cList (const char *NeedsLocking=NULL)
 
 cList (const char *NeedsLocking=NULL)
 
const cEpgHandlerGet (int Index) const
 
cEpgHandlerGet (int Index)
 
const cEpgHandlerGet (int Index) const
 
cEpgHandlerGet (int Index)
 
const cEpgHandlerFirst (void) const
 
cEpgHandlerFirst (void)
 
const cEpgHandlerFirst (void) const
 
cEpgHandlerFirst (void)
 
const cEpgHandlerLast (void) const
 
cEpgHandlerLast (void)
 
const cEpgHandlerLast (void) const
 
cEpgHandlerLast (void)
 
const cEpgHandlerPrev (const cEpgHandler *Object) const
 
cEpgHandlerPrev (const cEpgHandler *Object)
 
const cEpgHandlerPrev (const cEpgHandler *Object) const
 
cEpgHandlerPrev (const cEpgHandler *Object)
 
const cEpgHandlerNext (const cEpgHandler *Object) const
 
cEpgHandlerNext (const cEpgHandler *Object)
 
const cEpgHandlerNext (const cEpgHandler *Object) const
 
cEpgHandlerNext (const cEpgHandler *Object)
 
- Public Member Functions inherited from cListBase
virtual ~cListBase ()
 
bool Lock (cStateKey &StateKey, bool Write=false, int TimeoutMs=0) const
 
void SetSyncStateKey (cStateKey &StateKey)
 
void SetUseGarbageCollector (void)
 
void SetExplicitModify (void)
 
void SetModified (void)
 
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)
 
bool Contains (const cListObject *Object) const
 
const cListObjectGet (int Index) const
 
cListObjectGet (int Index)
 
int Count (void) const
 
void Sort (void)
 
virtual ~cListBase ()
 
bool Lock (cStateKey &StateKey, bool Write=false, int TimeoutMs=0) const
 
void SetSyncStateKey (cStateKey &StateKey)
 
void SetUseGarbageCollector (void)
 
void SetExplicitModify (void)
 
void SetModified (void)
 
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)
 
bool Contains (const cListObject *Object) const
 
const cListObjectGet (int Index) const
 
cListObjectGet (int Index)
 
int Count (void) const
 
void Sort (void)
 

Additional Inherited Members

- Protected Member Functions inherited from cListBase
 cListBase (const char *NeedsLocking=NULL)
 
 cListBase (const char *NeedsLocking=NULL)
 
- Protected Attributes inherited from cListBase
cListObjectobjects
 
cListObjectlastObject
 
int count
 
cStateLock stateLock
 
const char * needsLocking
 
bool useGarbageCollector
 

Detailed Description

Definition at line 309 of file epg.h.

Member Function Documentation

◆ BeginSegmentTransfer() [1/2]

bool cEpgHandlers::BeginSegmentTransfer ( const cChannel Channel)

Definition at line 1592 of file epg.c.

References cList< cEpgHandler >::First(), and cList< cEpgHandler >::Next().

Referenced by cEIT::cEIT().

◆ BeginSegmentTransfer() [2/2]

bool cEpgHandlers::BeginSegmentTransfer ( const cChannel Channel)

◆ DropOutdated() [1/2]

void cEpgHandlers::DropOutdated ( cSchedule Schedule,
time_t  SegmentStart,
time_t  SegmentEnd,
uchar  TableID,
uchar  Version 
)

◆ DropOutdated() [2/2]

void cEpgHandlers::DropOutdated ( cSchedule Schedule,
time_t  SegmentStart,
time_t  SegmentEnd,
uchar  TableID,
uchar  Version 
)

◆ EndSegmentTransfer() [1/2]

void cEpgHandlers::EndSegmentTransfer ( bool  Modified)

Definition at line 1601 of file epg.c.

References cList< cEpgHandler >::First(), and cList< cEpgHandler >::Next().

Referenced by cEIT::cEIT().

◆ EndSegmentTransfer() [2/2]

void cEpgHandlers::EndSegmentTransfer ( bool  Modified)

◆ FixEpgBugs() [1/2]

void cEpgHandlers::FixEpgBugs ( cEvent Event)

Definition at line 1557 of file epg.c.

References cList< cEpgHandler >::First(), cEvent::FixEpgBugs(), and cList< cEpgHandler >::Next().

Referenced by cEIT::cEIT().

◆ FixEpgBugs() [2/2]

void cEpgHandlers::FixEpgBugs ( cEvent Event)

◆ HandledExternally() [1/2]

bool cEpgHandlers::HandledExternally ( const cChannel Channel)

Definition at line 1449 of file epg.c.

References cList< cEpgHandler >::First(), and cList< cEpgHandler >::Next().

Referenced by cEIT::cEIT().

◆ HandledExternally() [2/2]

bool cEpgHandlers::HandledExternally ( const cChannel Channel)

◆ HandleEitEvent() [1/2]

bool cEpgHandlers::HandleEitEvent ( cSchedule Schedule,
const SI::EIT::Event EitEvent,
uchar  TableID,
uchar  Version 
)

Definition at line 1440 of file epg.c.

References cList< cEpgHandler >::First(), and cList< cEpgHandler >::Next().

Referenced by cEIT::cEIT().

◆ HandleEitEvent() [2/2]

bool cEpgHandlers::HandleEitEvent ( cSchedule Schedule,
const SI::EIT::Event EitEvent,
uchar  TableID,
uchar  Version 
)

◆ HandleEvent() [1/2]

void cEpgHandlers::HandleEvent ( cEvent Event)

Definition at line 1566 of file epg.c.

References cList< cEpgHandler >::First(), and cList< cEpgHandler >::Next().

Referenced by cEIT::cEIT().

◆ HandleEvent() [2/2]

void cEpgHandlers::HandleEvent ( cEvent Event)

◆ IgnoreChannel() [1/2]

bool cEpgHandlers::IgnoreChannel ( const cChannel Channel)

Definition at line 1431 of file epg.c.

References cList< cEpgHandler >::First(), and cList< cEpgHandler >::Next().

Referenced by cEIT::cEIT().

◆ IgnoreChannel() [2/2]

bool cEpgHandlers::IgnoreChannel ( const cChannel Channel)

◆ IsUpdate() [1/2]

bool cEpgHandlers::IsUpdate ( tEventID  EventID,
time_t  StartTime,
uchar  TableID,
uchar  Version 
)

Definition at line 1458 of file epg.c.

References cList< cEpgHandler >::First(), and cList< cEpgHandler >::Next().

Referenced by cEIT::cEIT().

◆ IsUpdate() [2/2]

bool cEpgHandlers::IsUpdate ( tEventID  EventID,
time_t  StartTime,
uchar  TableID,
uchar  Version 
)

◆ SetComponents() [1/2]

void cEpgHandlers::SetComponents ( cEvent Event,
cComponents Components 
)

Definition at line 1548 of file epg.c.

References cList< cEpgHandler >::First(), cList< cEpgHandler >::Next(), and cEvent::SetComponents().

Referenced by cEIT::cEIT().

◆ SetComponents() [2/2]

void cEpgHandlers::SetComponents ( cEvent Event,
cComponents Components 
)

◆ SetContents() [1/2]

void cEpgHandlers::SetContents ( cEvent Event,
uchar Contents 
)

Definition at line 1503 of file epg.c.

References cList< cEpgHandler >::First(), cList< cEpgHandler >::Next(), and cEvent::SetContents().

Referenced by cEIT::cEIT().

◆ SetContents() [2/2]

void cEpgHandlers::SetContents ( cEvent Event,
uchar Contents 
)

◆ SetDescription() [1/2]

void cEpgHandlers::SetDescription ( cEvent Event,
const char *  Description 
)

Definition at line 1494 of file epg.c.

References cList< cEpgHandler >::First(), cList< cEpgHandler >::Next(), and cEvent::SetDescription().

Referenced by cEIT::cEIT().

◆ SetDescription() [2/2]

void cEpgHandlers::SetDescription ( cEvent Event,
const char *  Description 
)

◆ SetDuration() [1/2]

void cEpgHandlers::SetDuration ( cEvent Event,
int  Duration 
)

Definition at line 1530 of file epg.c.

References cList< cEpgHandler >::First(), cList< cEpgHandler >::Next(), and cEvent::SetDuration().

Referenced by cEIT::cEIT().

◆ SetDuration() [2/2]

void cEpgHandlers::SetDuration ( cEvent Event,
int  Duration 
)

◆ SetEventID() [1/2]

void cEpgHandlers::SetEventID ( cEvent Event,
tEventID  EventID 
)

Definition at line 1467 of file epg.c.

References cList< cEpgHandler >::First(), cList< cEpgHandler >::Next(), and cEvent::SetEventID().

Referenced by cEIT::cEIT().

◆ SetEventID() [2/2]

void cEpgHandlers::SetEventID ( cEvent Event,
tEventID  EventID 
)

◆ SetParentalRating() [1/2]

void cEpgHandlers::SetParentalRating ( cEvent Event,
int  ParentalRating 
)

◆ SetParentalRating() [2/2]

void cEpgHandlers::SetParentalRating ( cEvent Event,
int  ParentalRating 
)

◆ SetShortText() [1/2]

void cEpgHandlers::SetShortText ( cEvent Event,
const char *  ShortText 
)

Definition at line 1485 of file epg.c.

References cList< cEpgHandler >::First(), cList< cEpgHandler >::Next(), and cEvent::SetShortText().

Referenced by cEIT::cEIT().

◆ SetShortText() [2/2]

void cEpgHandlers::SetShortText ( cEvent Event,
const char *  ShortText 
)

◆ SetStartTime() [1/2]

void cEpgHandlers::SetStartTime ( cEvent Event,
time_t  StartTime 
)

Definition at line 1521 of file epg.c.

References cList< cEpgHandler >::First(), cList< cEpgHandler >::Next(), and cEvent::SetStartTime().

Referenced by cEIT::cEIT().

◆ SetStartTime() [2/2]

void cEpgHandlers::SetStartTime ( cEvent Event,
time_t  StartTime 
)

◆ SetTitle() [1/2]

void cEpgHandlers::SetTitle ( cEvent Event,
const char *  Title 
)

Definition at line 1476 of file epg.c.

References cList< cEpgHandler >::First(), cList< cEpgHandler >::Next(), and cEvent::SetTitle().

Referenced by cEIT::cEIT().

◆ SetTitle() [2/2]

void cEpgHandlers::SetTitle ( cEvent Event,
const char *  Title 
)

◆ SetVps() [1/2]

void cEpgHandlers::SetVps ( cEvent Event,
time_t  Vps 
)

Definition at line 1539 of file epg.c.

References cList< cEpgHandler >::First(), cList< cEpgHandler >::Next(), and cEvent::SetVps().

Referenced by cEIT::cEIT().

◆ SetVps() [2/2]

void cEpgHandlers::SetVps ( cEvent Event,
time_t  Vps 
)

◆ SortSchedule() [1/2]

void cEpgHandlers::SortSchedule ( cSchedule Schedule)

Definition at line 1574 of file epg.c.

References cList< cEpgHandler >::First(), cList< cEpgHandler >::Next(), and cSchedule::Sort().

Referenced by cEIT::cEIT().

◆ SortSchedule() [2/2]

void cEpgHandlers::SortSchedule ( cSchedule Schedule)

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