MythTV  master
Public Member Functions | List of all members
Channel Class Reference

#include <mythbackend/services/channel.h>

Inheritance diagram for Channel:
[legend]
Collaboration diagram for Channel:
[legend]

Public Member Functions

Q_INVOKABLE Channel (QObject *=nullptr)
 
DTC::ChannelInfoListGetChannelInfoList (uint SourceID, uint ChannelGroupID, uint StartIndex, uint Count, bool OnlyVisible, bool Details, bool OrderByName, bool GroupByCallsign, bool OnlyTunable) override
 
DTC::ChannelInfoGetChannelInfo (uint ChanID) override
 
bool UpdateDBChannel (uint MplexID, uint SourceID, uint ChannelID, const QString &CallSign, const QString &ChannelName, const QString &ChannelNumber, uint ServiceID, uint ATSCMajorChannel, uint ATSCMinorChannel, bool UseEIT, bool Visible, const QString &ExtendedVisible, const QString &FrequencyID, const QString &Icon, const QString &Format, const QString &XMLTVID, const QString &DefaultAuthority, uint ServiceType) override
 
bool AddDBChannel (uint MplexID, uint SourceID, uint ChannelID, const QString &CallSign, const QString &ChannelName, const QString &ChannelNumber, uint ServiceID, uint ATSCMajorChannel, uint ATSCMinorChannel, bool UseEIT, bool Visible, const QString &ExtendedVisible, const QString &FrequencyID, const QString &Icon, const QString &Format, const QString &XMLTVID, const QString &DefaultAuthority, uint ServiceType) override
 
bool RemoveDBChannel (uint ChannelID) override
 
DTC::VideoSourceListGetVideoSourceList (void) override
 
DTC::VideoSourceGetVideoSource (uint SourceID) override
 
bool UpdateVideoSource (uint SourceID, const QString &SourceName, const QString &Grabber, const QString &UserId, const QString &FreqTable, const QString &LineupId, const QString &Password, bool UseEIT, const QString &ConfigPath, int NITId, uint BouquetId, uint RegionId, uint ScanFrequency, uint LCNOffset) override
 
int AddVideoSource (const QString &SourceName, const QString &Grabber, const QString &UserId, const QString &FreqTable, const QString &LineupId, const QString &Password, bool UseEIT, const QString &ConfigPath, int NITId, uint BouquetId, uint RegionId, uint ScanFrequency, uint LCNOffset) override
 
bool RemoveVideoSource (uint SourceID) override
 
DTC::LineupListGetDDLineupList (const QString &, const QString &, const QString &) override
 
int FetchChannelsFromSource (uint SourceId, uint CardId, bool WaitForFinish) override
 
DTC::VideoMultiplexListGetVideoMultiplexList (uint SourceID, uint StartIndex, uint Count) override
 
DTC::VideoMultiplexGetVideoMultiplex (uint MplexID) override
 
QStringList GetXMLTVIdList (uint SourceID) override
 
- Public Member Functions inherited from ChannelServices
 ChannelServices (QObject *parent=nullptr)
 
- Public Member Functions inherited from Service
 Service (QObject *parent=nullptr)
 
virtual QVariant ConvertToVariant (int nType, void *pValue)
 
virtual void * ConvertToParameterPtr (int nTypeId, const QString &sParamType, void *pParam, const QString &sValue)
 
bool HAS_PARAM (const QString &p) const
 

Additional Inherited Members

- Public Slots inherited from ChannelServices
- Static Public Member Functions inherited from Service
static bool ToBool (const QString &sVal)
 
- Public Attributes inherited from Service
QList< QString > m_parsedParams
 

Detailed Description

Definition at line 36 of file channel.h.

Constructor & Destructor Documentation

◆ Channel()

Q_INVOKABLE Channel::Channel ( QObject *  = nullptr)
inlineexplicit

Definition at line 42 of file channel.h.

Member Function Documentation

◆ GetChannelInfoList()

DTC::ChannelInfoList * Channel::GetChannelInfoList ( uint  SourceID,
uint  ChannelGroupID,
uint  StartIndex,
uint  Count,
bool  OnlyVisible,
bool  Details,
bool  OrderByName,
bool  GroupByCallsign,
bool  OnlyTunable 
)
overridevirtual

Implements ChannelServices.

Definition at line 52 of file channel.cpp.

◆ GetChannelInfo()

DTC::ChannelInfo * Channel::GetChannelInfo ( uint  ChanID)
overridevirtual

Implements ChannelServices.

Definition at line 130 of file channel.cpp.

◆ UpdateDBChannel()

bool Channel::UpdateDBChannel ( uint  MplexID,
uint  SourceID,
uint  ChannelID,
const QString &  CallSign,
const QString &  ChannelName,
const QString &  ChannelNumber,
uint  ServiceID,
uint  ATSCMajorChannel,
uint  ATSCMinorChannel,
bool  UseEIT,
bool  Visible,
const QString &  ExtendedVisible,
const QString &  FrequencyID,
const QString &  Icon,
const QString &  Format,
const QString &  XMLTVID,
const QString &  DefaultAuthority,
uint  ServiceType 
)
overridevirtual

Implements ChannelServices.

Definition at line 147 of file channel.cpp.

◆ AddDBChannel()

bool Channel::AddDBChannel ( uint  MplexID,
uint  SourceID,
uint  ChannelID,
const QString &  CallSign,
const QString &  ChannelName,
const QString &  ChannelNumber,
uint  ServiceID,
uint  ATSCMajorChannel,
uint  ATSCMinorChannel,
bool  UseEIT,
bool  Visible,
const QString &  ExtendedVisible,
const QString &  FrequencyID,
const QString &  Icon,
const QString &  Format,
const QString &  XMLTVID,
const QString &  DefaultAuthority,
uint  ServiceType 
)
overridevirtual

Implements ChannelServices.

Definition at line 240 of file channel.cpp.

◆ RemoveDBChannel()

bool Channel::RemoveDBChannel ( uint  ChannelID)
overridevirtual

Implements ChannelServices.

Definition at line 281 of file channel.cpp.

◆ GetVideoSourceList()

DTC::VideoSourceList * Channel::GetVideoSourceList ( void  )
overridevirtual

Implements ChannelServices.

Definition at line 292 of file channel.cpp.

◆ GetVideoSource()

DTC::VideoSource * Channel::GetVideoSource ( uint  SourceID)
overridevirtual

Implements ChannelServices.

Definition at line 351 of file channel.cpp.

◆ UpdateVideoSource()

bool Channel::UpdateVideoSource ( uint  SourceID,
const QString &  SourceName,
const QString &  Grabber,
const QString &  UserId,
const QString &  FreqTable,
const QString &  LineupId,
const QString &  Password,
bool  UseEIT,
const QString &  ConfigPath,
int  NITId,
uint  BouquetId,
uint  RegionId,
uint  ScanFrequency,
uint  LCNOffset 
)
overridevirtual

Implements ChannelServices.

Definition at line 405 of file channel.cpp.

◆ AddVideoSource()

int Channel::AddVideoSource ( const QString &  SourceName,
const QString &  Grabber,
const QString &  UserId,
const QString &  FreqTable,
const QString &  LineupId,
const QString &  Password,
bool  UseEIT,
const QString &  ConfigPath,
int  NITId,
uint  BouquetId,
uint  RegionId,
uint  ScanFrequency,
uint  LCNOffset 
)
overridevirtual

Implements ChannelServices.

Definition at line 520 of file channel.cpp.

◆ RemoveVideoSource()

bool Channel::RemoveVideoSource ( uint  SourceID)
overridevirtual

Implements ChannelServices.

Definition at line 546 of file channel.cpp.

◆ GetDDLineupList()

DTC::LineupList * Channel::GetDDLineupList ( const QString &  ,
const QString &  ,
const QString &   
)
overridevirtual

Implements ChannelServices.

Definition at line 557 of file channel.cpp.

◆ FetchChannelsFromSource()

int Channel::FetchChannelsFromSource ( uint  SourceId,
uint  CardId,
bool  WaitForFinish 
)
overridevirtual

Implements ChannelServices.

Definition at line 569 of file channel.cpp.

◆ GetVideoMultiplexList()

DTC::VideoMultiplexList * Channel::GetVideoMultiplexList ( uint  SourceID,
uint  StartIndex,
uint  Count 
)
overridevirtual

Implements ChannelServices.

Definition at line 598 of file channel.cpp.

◆ GetVideoMultiplex()

DTC::VideoMultiplex * Channel::GetVideoMultiplex ( uint  MplexID)
overridevirtual

Implements ChannelServices.

Definition at line 696 of file channel.cpp.

◆ GetXMLTVIdList()

QStringList Channel::GetXMLTVIdList ( uint  SourceID)
overridevirtual

Implements ChannelServices.

Definition at line 758 of file channel.cpp.


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