MythTV
master
|
#include <libmythtv/recorders/vboxutils.h>
Public Member Functions | |
VBox (QString url) | |
~VBox (void)=default | |
bool | isConnected (void) |
bool | checkConnection (void) |
bool | checkVersion (QString &version) |
QDomDocument * | getBoardInfo (void) |
QStringList | getTuners (void) |
returns a list of tuners in the format 'TUNERNO TUNERTYPE' eg '1 DVBT/T2' More... | |
vbox_chan_map_t * | getChannels (void) |
Static Public Member Functions | |
static QStringList | probeDevices (void) |
static QString | getIPFromVideoDevice (const QString &dev) |
Protected Types | |
enum | ErrorCode : std::uint8_t { SUCCESS = 0, UNKNOWN_METHOD = 1, GENERAL_ERROR = 2, MISSING_PARAMETER = 3, ILLEGAL_PARAMETER = 4, REQUEST_REJECTED = 5, MISSING_METHOD = 6, REQUEST_TIMEOUT = 7, REQUEST_ABOTRED = 8 } |
Static Protected Member Functions | |
static bool | sendQuery (const QString &query, QDomDocument *xmlDoc) |
Protected Attributes | |
QString | m_url |
Static Private Member Functions | |
static QStringList | doUPNPSearch (void) |
static QString | getFirstText (QDomElement &element) |
static QString | getStrValue (const QDomElement &element, const QString &name, int index=0) |
static int | getIntValue (const QDomElement &element, const QString &name, int index=0) |
Definition at line 16 of file vboxutils.h.
|
protected |
Enumerator | |
---|---|
SUCCESS | |
UNKNOWN_METHOD | |
GENERAL_ERROR | |
MISSING_PARAMETER | |
ILLEGAL_PARAMETER | |
REQUEST_REJECTED | |
MISSING_METHOD | |
REQUEST_TIMEOUT | |
REQUEST_ABOTRED |
Definition at line 35 of file vboxutils.h.
|
inlineexplicit |
Definition at line 19 of file vboxutils.h.
Referenced by doUPNPSearch().
|
default |
|
static |
Definition at line 29 of file vboxutils.cpp.
Referenced by getIPFromVideoDevice(), and CardUtil::ProbeVideoDevices().
|
static |
Definition at line 149 of file vboxutils.cpp.
Referenced by VBoxChannelFetcher::run().
bool VBox::isConnected | ( | void | ) |
bool VBox::checkConnection | ( | void | ) |
Definition at line 209 of file vboxutils.cpp.
Referenced by CardUtil::GetVBoxdesc().
bool VBox::checkVersion | ( | QString & | version | ) |
Definition at line 215 of file vboxutils.cpp.
Referenced by CardUtil::GetVBoxdesc().
QDomDocument * VBox::getBoardInfo | ( | void | ) |
Definition at line 193 of file vboxutils.cpp.
Referenced by checkConnection(), checkVersion(), and getTuners().
QStringList VBox::getTuners | ( | void | ) |
returns a list of tuners in the format 'TUNERNO TUNERTYPE' eg '1 DVBT/T2'
Definition at line 271 of file vboxutils.cpp.
Referenced by doUPNPSearch().
vbox_chan_map_t * VBox::getChannels | ( | void | ) |
Definition at line 296 of file vboxutils.cpp.
Referenced by nv_python_libs.vimeo.vimeo_api.Videos::displayTreeView(), and VBoxChannelFetcher::run().
|
staticprotected |
Definition at line 358 of file vboxutils.cpp.
Referenced by getBoardInfo(), and getChannels().
|
staticprivate |
Definition at line 66 of file vboxutils.cpp.
Referenced by probeDevices().
|
staticprivate |
Definition at line 438 of file vboxutils.cpp.
Referenced by getStrValue().
|
staticprivate |
Definition at line 417 of file vboxutils.cpp.
Referenced by checkVersion(), getChannels(), getIntValue(), getTuners(), and sendQuery().
|
staticprivate |
Definition at line 431 of file vboxutils.cpp.
Referenced by getTuners(), and sendQuery().
|
protected |
Definition at line 50 of file vboxutils.h.
Referenced by getBoardInfo(), and getChannels().