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

#include <sourceutil.h>

Static Public Member Functions

static bool HasDigitalChannel (uint sourceid)
 
static QString GetSourceName (uint sourceid)
 
static uint GetSourceID (const QString &name)
 
static QString GetChannelSeparator (uint sourceid)
 
static QString GetChannelFormat (uint sourceid)
 
static uint GetChannelCount (uint sourceid)
 
static std::vector< uintGetMplexIDs (uint sourceid)
 
static bool GetListingsLoginData (uint sourceid, QString &grabber, QString &userid, QString &passwd, QString &lineupid)
 
static uint GetConnectionCount (uint sourceid)
 
static bool IsProperlyConnected (uint sourceid, bool strict=false)
 
static bool IsEncoder (uint sourceid, bool strict=false)
 
static bool IsUnscanable (uint sourceid)
 
static bool IsCableCardPresent (uint sourceid)
 
static bool IsAnySourceScanable (void)
 
static bool IsSourceIDValid (uint sourceid)
 
static bool UpdateChannelsFromListings (uint sourceid, const QString &inputtype=QString(), bool wait=false)
 
static bool UpdateSource (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)
 
static int CreateSource (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)
 
static bool DeleteSource (uint sourceid)
 
static bool DeleteAllSources (void)
 

Detailed Description

Definition at line 14 of file sourceutil.h.

Member Function Documentation

◆ HasDigitalChannel()

bool SourceUtil::HasDigitalChannel ( uint  sourceid)
static

Definition at line 12 of file sourceutil.cpp.

◆ GetSourceName()

QString SourceUtil::GetSourceName ( uint  sourceid)
static

Definition at line 43 of file sourceutil.cpp.

Referenced by ChannelInfo::GetSourceName(), and TV::MenuItemDisplayPlayback().

◆ GetSourceID()

uint SourceUtil::GetSourceID ( const QString &  name)
static

Definition at line 66 of file sourceutil.cpp.

Referenced by TransportListEditor::SetSourceID().

◆ GetChannelSeparator()

QString SourceUtil::GetChannelSeparator ( uint  sourceid)
static

Definition at line 89 of file sourceutil.cpp.

Referenced by GetChannelFormat().

◆ GetChannelFormat()

QString SourceUtil::GetChannelFormat ( uint  sourceid)
static

Definition at line 127 of file sourceutil.cpp.

◆ GetChannelCount()

uint SourceUtil::GetChannelCount ( uint  sourceid)
static

◆ GetMplexIDs()

std::vector< uint > SourceUtil::GetMplexIDs ( uint  sourceid)
static

Definition at line 145 of file sourceutil.cpp.

Referenced by ChannelScanSM::ScanExistingTransports().

◆ GetListingsLoginData()

bool SourceUtil::GetListingsLoginData ( uint  sourceid,
QString &  grabber,
QString &  userid,
QString &  passwd,
QString &  lineupid 
)
static

Definition at line 168 of file sourceutil.cpp.

Referenced by XMLTVGrabber::Load().

◆ GetConnectionCount()

uint SourceUtil::GetConnectionCount ( uint  sourceid)
static

Definition at line 226 of file sourceutil.cpp.

◆ IsProperlyConnected()

bool SourceUtil::IsProperlyConnected ( uint  sourceid,
bool  strict = false 
)
static

Definition at line 232 of file sourceutil.cpp.

◆ IsEncoder()

bool SourceUtil::IsEncoder ( uint  sourceid,
bool  strict = false 
)
static

Definition at line 304 of file sourceutil.cpp.

Referenced by ChannelData::insert_chan().

◆ IsUnscanable()

bool SourceUtil::IsUnscanable ( uint  sourceid)
static

Definition at line 338 of file sourceutil.cpp.

Referenced by check_cardsource(), ChannelData::insert_chan(), and IsAnySourceScanable().

◆ IsCableCardPresent()

bool SourceUtil::IsCableCardPresent ( uint  sourceid)
static

Definition at line 347 of file sourceutil.cpp.

Referenced by ChannelData::insert_chan().

◆ IsAnySourceScanable()

bool SourceUtil::IsAnySourceScanable ( void  )
static

Definition at line 356 of file sourceutil.cpp.

Referenced by ChannelEditor::Create().

◆ IsSourceIDValid()

bool SourceUtil::IsSourceIDValid ( uint  sourceid)
static

Definition at line 376 of file sourceutil.cpp.

Referenced by Channel::UpdateVideoSource().

◆ UpdateChannelsFromListings()

bool SourceUtil::UpdateChannelsFromListings ( uint  sourceid,
const QString &  inputtype = QString(),
bool  wait = false 
)
static

Definition at line 392 of file sourceutil.cpp.

Referenced by Channel::FetchChannelsFromSource(), and CardInput::sourceFetch().

◆ UpdateSource()

bool SourceUtil::UpdateSource ( 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 
)
static

Definition at line 432 of file sourceutil.cpp.

◆ CreateSource()

int SourceUtil::CreateSource ( 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 
)
static

Definition at line 473 of file sourceutil.cpp.

Referenced by Channel::AddVideoSource().

◆ DeleteSource()

bool SourceUtil::DeleteSource ( uint  sourceid)
static

Definition at line 526 of file sourceutil.cpp.

Referenced by VideoSource::deleteEntry(), and Channel::RemoveVideoSource().

◆ DeleteAllSources()

bool SourceUtil::DeleteAllSources ( void  )
static

Definition at line 582 of file sourceutil.cpp.

Referenced by VideoSourceEditor::DeleteAllSources().


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