MythTV master
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
ExternalRecChannelFetcher Class Reference

#include <libmythtv/recorders/ExternalRecChannelFetcher.h>

Collaboration diagram for ExternalRecChannelFetcher:
[legend]

Public Member Functions

 ExternalRecChannelFetcher (int cardid, QString cmd)
 
 ~ExternalRecChannelFetcher (void)
 
bool Valid (void) const
 
int LoadChannels (void)
 
bool FirstChannel (QString &channum, QString &name, QString &callsign, QString &xmltvid, QString &icon)
 
bool NextChannel (QString &channum, QString &name, QString &callsign, QString &xmltvid, QString &icon)
 

Protected Member Functions

void Close (void)
 
bool FetchChannel (const QString &cmd, QString &channum, QString &name, QString &callsign, QString &xmltvid, QString &icon)
 

Private Attributes

int m_cardid
 
QString m_command
 
ExternalStreamHandlerm_streamHandler {nullptr}
 

Detailed Description

Definition at line 26 of file ExternalRecChannelFetcher.h.

Constructor & Destructor Documentation

◆ ExternalRecChannelFetcher()

ExternalRecChannelFetcher::ExternalRecChannelFetcher ( int  cardid,
QString  cmd 
)

Definition at line 36 of file ExternalRecChannelFetcher.cpp.

◆ ~ExternalRecChannelFetcher()

ExternalRecChannelFetcher::~ExternalRecChannelFetcher ( void  )

Definition at line 49 of file ExternalRecChannelFetcher.cpp.

Member Function Documentation

◆ Close()

void ExternalRecChannelFetcher::Close ( void  )
protected

◆ FetchChannel()

bool ExternalRecChannelFetcher::FetchChannel ( const QString &  cmd,
QString &  channum,
QString &  name,
QString &  callsign,
QString &  xmltvid,
QString &  icon 
)
protected

Definition at line 77 of file ExternalRecChannelFetcher.cpp.

Referenced by FirstChannel(), and NextChannel().

◆ FirstChannel()

bool ExternalRecChannelFetcher::FirstChannel ( QString &  channum,
QString &  name,
QString &  callsign,
QString &  xmltvid,
QString &  icon 
)
inline

Definition at line 35 of file ExternalRecChannelFetcher.h.

Referenced by ExternRecChannelScanner::run().

◆ LoadChannels()

int ExternalRecChannelFetcher::LoadChannels ( void  )

Definition at line 129 of file ExternalRecChannelFetcher.cpp.

Referenced by ExternRecChannelScanner::run().

◆ NextChannel()

bool ExternalRecChannelFetcher::NextChannel ( QString &  channum,
QString &  name,
QString &  callsign,
QString &  xmltvid,
QString &  icon 
)
inline

Definition at line 44 of file ExternalRecChannelFetcher.h.

Referenced by ExternRecChannelScanner::run().

◆ Valid()

bool ExternalRecChannelFetcher::Valid ( void  ) const

Definition at line 60 of file ExternalRecChannelFetcher.cpp.

Referenced by FetchChannel(), and LoadChannels().

Member Data Documentation

◆ m_cardid

int ExternalRecChannelFetcher::m_cardid
private

Definition at line 66 of file ExternalRecChannelFetcher.h.

Referenced by Close().

◆ m_command

QString ExternalRecChannelFetcher::m_command
private

Definition at line 67 of file ExternalRecChannelFetcher.h.

◆ m_streamHandler

ExternalStreamHandler* ExternalRecChannelFetcher::m_streamHandler {nullptr}
private

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