#include <epg.h>
|
| cEpgHandler (void) |
|
virtual | ~cEpgHandler () |
|
virtual bool | SetEventID (cEvent *Event, tEventID EventID) |
|
virtual bool | SetTitle (cEvent *Event, const char *Title) |
|
virtual bool | SetShortText (cEvent *Event, const char *ShortText) |
|
virtual bool | SetDescription (cEvent *Event, const char *Description) |
|
virtual bool | SetContents (cEvent *Event, uchar *Contents) |
|
virtual bool | SetParentalRating (cEvent *Event, int ParentalRating) |
|
virtual bool | SetStartTime (cEvent *Event, time_t StartTime) |
|
virtual bool | SetDuration (cEvent *Event, int Duration) |
|
virtual bool | SetVps (cEvent *Event, time_t Vps) |
|
virtual bool | SetComponents (cEvent *Event, cComponents *Components) |
|
virtual bool | BeginSegmentTransfer (const cChannel *Channel, bool Dummy) |
|
virtual bool | EndSegmentTransfer (bool Modified, bool Dummy) |
|
| cListObject (void) |
|
virtual | ~cListObject () |
|
void | Append (cListObject *Object) |
|
void | Insert (cListObject *Object) |
|
void | Unlink (void) |
|
int | Index (void) const |
|
cListObject * | Prev (void) const |
|
cListObject * | Next (void) const |
|
Definition at line 235 of file epg.h.
◆ cEpgHandler()
cEpgHandler::cEpgHandler |
( |
void |
| ) |
|
Constructs a new EPG handler and adds it to the list of EPG handlers.
Whenever an event is received from the EIT data stream, the EPG handlers are queried in the order they have been created. As soon as one of the EPG handlers returns true in a member function, none of the remaining handlers will be queried. If none of the EPG handlers returns true in a particular call, the default processing will take place. EPG handlers will be deleted automatically at the end of the program.
Definition at line 1372 of file epg.c.
References cListBase::Add(), and EpgHandlers.
◆ ~cEpgHandler()
cEpgHandler::~cEpgHandler |
( |
| ) |
|
|
virtual |
◆ BeginSegmentTransfer()
virtual bool cEpgHandler::BeginSegmentTransfer |
( |
const cChannel * |
Channel, |
|
|
bool |
Dummy |
|
) |
| |
|
inlinevirtual |
◆ EndSegmentTransfer()
virtual bool cEpgHandler::EndSegmentTransfer |
( |
bool |
Modified, |
|
|
bool |
Dummy |
|
) |
| |
|
inlinevirtual |
< Called directly after IgnoreChannel() before any other handler method is called.
Designed to give handlers the possibility to prepare a database transaction. If any EPG handler returns false in this function, it is assumed that the EPG for the given Channel has to be handled later due to some transaction problems,
therefore the processing will aborted.
Dummy is for backward compatibility and may be removed in a future version.
Definition at line 294 of file epg.h.
◆ SetComponents()
◆ SetContents()
virtual bool cEpgHandler::SetContents |
( |
cEvent * |
Event, |
|
|
uchar * |
Contents |
|
) |
| |
|
inlinevirtual |
◆ SetDescription()
virtual bool cEpgHandler::SetDescription |
( |
cEvent * |
Event, |
|
|
const char * |
Description |
|
) |
| |
|
inlinevirtual |
◆ SetDuration()
virtual bool cEpgHandler::SetDuration |
( |
cEvent * |
Event, |
|
|
int |
Duration |
|
) |
| |
|
inlinevirtual |
◆ SetEventID()
virtual bool cEpgHandler::SetEventID |
( |
cEvent * |
Event, |
|
|
tEventID |
EventID |
|
) |
| |
|
inlinevirtual |
◆ SetParentalRating()
virtual bool cEpgHandler::SetParentalRating |
( |
cEvent * |
Event, |
|
|
int |
ParentalRating |
|
) |
| |
|
inlinevirtual |
◆ SetShortText()
virtual bool cEpgHandler::SetShortText |
( |
cEvent * |
Event, |
|
|
const char * |
ShortText |
|
) |
| |
|
inlinevirtual |
◆ SetStartTime()
virtual bool cEpgHandler::SetStartTime |
( |
cEvent * |
Event, |
|
|
time_t |
StartTime |
|
) |
| |
|
inlinevirtual |
◆ SetTitle()
virtual bool cEpgHandler::SetTitle |
( |
cEvent * |
Event, |
|
|
const char * |
Title |
|
) |
| |
|
inlinevirtual |
◆ SetVps()
virtual bool cEpgHandler::SetVps |
( |
cEvent * |
Event, |
|
|
time_t |
Vps |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following files: