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

#include <channel.h>

Inheritance diagram for Channel:
Inheritance graph
[legend]
Collaboration diagram for Channel:
Collaboration graph
[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) 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 &FrequencyID, const QString &Icon, const QString &Format, const QString &XMLTVID, const QString &DefaultAuthority) 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 &FrequencyID, const QString &Icon, const QString &Format, const QString &XMLTVID, const QString &DefaultAuthority) 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) 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) 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)
 

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 33 of file channel.h.

Constructor & Destructor Documentation

◆ Channel()

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

Definition at line 39 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 
)
overridevirtual

Implements ChannelServices.

Definition at line 49 of file channel.cpp.

Referenced by ScriptableChannel::GetChannelInfoList().

◆ GetChannelInfo()

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

Implements ChannelServices.

Definition at line 124 of file channel.cpp.

Referenced by ScriptableChannel::GetChannelInfo().

◆ 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 &  FrequencyID,
const QString &  Icon,
const QString &  Format,
const QString &  XMLTVID,
const QString &  DefaultAuthority 
)
overridevirtual

Implements ChannelServices.

Definition at line 141 of file channel.cpp.

Referenced by ScriptableChannel::UpdateDBChannel().

◆ 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 &  FrequencyID,
const QString &  Icon,
const QString &  Format,
const QString &  XMLTVID,
const QString &  DefaultAuthority 
)
overridevirtual

Implements ChannelServices.

Definition at line 167 of file channel.cpp.

Referenced by ScriptableChannel::AddDBChannel().

◆ RemoveDBChannel()

bool Channel::RemoveDBChannel ( uint  ChannelID)
overridevirtual

Implements ChannelServices.

Definition at line 193 of file channel.cpp.

Referenced by ScriptableChannel::RemoveDBChannel().

◆ GetVideoSourceList()

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

Implements ChannelServices.

Definition at line 204 of file channel.cpp.

Referenced by ScriptableChannel::GetVideoSourceList().

◆ GetVideoSource()

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

Implements ChannelServices.

Definition at line 258 of file channel.cpp.

Referenced by ScriptableChannel::GetVideoSource().

◆ 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 
)
overridevirtual

Implements ChannelServices.

Definition at line 306 of file channel.cpp.

Referenced by ScriptableChannel::UpdateVideoSource().

◆ 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 
)
overridevirtual

Implements ChannelServices.

Definition at line 328 of file channel.cpp.

Referenced by ScriptableChannel::AddVideoSource().

◆ RemoveVideoSource()

bool Channel::RemoveVideoSource ( uint  SourceID)
overridevirtual

Implements ChannelServices.

Definition at line 349 of file channel.cpp.

Referenced by ScriptableChannel::RemoveVideoSource().

◆ GetDDLineupList()

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

Implements ChannelServices.

Definition at line 360 of file channel.cpp.

◆ FetchChannelsFromSource()

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

Implements ChannelServices.

Definition at line 372 of file channel.cpp.

◆ GetVideoMultiplexList()

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

Implements ChannelServices.

Definition at line 401 of file channel.cpp.

Referenced by ScriptableChannel::GetVideoMultiplexList().

◆ GetVideoMultiplex()

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

Implements ChannelServices.

Definition at line 498 of file channel.cpp.

Referenced by ScriptableChannel::GetVideoMultiplex().

◆ GetXMLTVIdList()

QStringList Channel::GetXMLTVIdList ( uint  SourceID)
overridevirtual

Implements ChannelServices.

Definition at line 560 of file channel.cpp.

Referenced by ScriptableChannel::GetXMLTVIdList().


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