|
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 |
| 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().
|
staticprivate |
Definition at line 66 of file vboxutils.cpp.
Referenced by probeDevices().
| QDomDocument * VBox::getBoardInfo | ( | void | ) |
Definition at line 193 of file vboxutils.cpp.
Referenced by checkConnection(), checkVersion(), and getTuners().
| 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().
|
staticprivate |
Definition at line 438 of file vboxutils.cpp.
Referenced by getStrValue().
|
staticprivate |
Definition at line 431 of file vboxutils.cpp.
Referenced by getTuners(), and sendQuery().
|
static |
Definition at line 149 of file vboxutils.cpp.
Referenced by VBoxChannelFetcher::run().
|
staticprivate |
Definition at line 417 of file vboxutils.cpp.
Referenced by checkVersion(), getChannels(), getIntValue(), getTuners(), and sendQuery().
| 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().
| bool VBox::isConnected | ( | void | ) |
|
static |
Definition at line 29 of file vboxutils.cpp.
Referenced by getIPFromVideoDevice(), and CardUtil::ProbeVideoDevices().
|
staticprotected |
Definition at line 358 of file vboxutils.cpp.
Referenced by getBoardInfo(), and getChannels().
|
protected |
Definition at line 50 of file vboxutils.h.
Referenced by getBoardInfo(), and getChannels().