#include <mythexternrecorder/MythExternRecApp.h>
Definition at line 37 of file MythExternRecApp.h.
◆ MythExternRecApp()
MythExternRecApp::MythExternRecApp |
( |
QString |
command, |
|
|
QString |
conf_file, |
|
|
QString |
log_file, |
|
|
QString |
logging |
|
) |
| |
◆ ~MythExternRecApp()
MythExternRecApp::~MythExternRecApp |
( |
void |
| ) |
|
|
override |
◆ Open()
bool MythExternRecApp::Open |
( |
void |
| ) |
|
◆ Run()
void MythExternRecApp::Run |
( |
void |
| ) |
|
◆ ReplaceVariables()
void MythExternRecApp::ReplaceVariables |
( |
QString & |
cmd | ) |
const |
◆ Desc()
QString MythExternRecApp::Desc |
( |
void |
| ) |
const |
◆ MythLog()
void MythExternRecApp::MythLog |
( |
const QString & |
msg | ) |
|
|
inline |
◆ SetErrorMsg()
void MythExternRecApp::SetErrorMsg |
( |
const QString & |
msg | ) |
|
|
inline |
◆ SetDescription
void MythExternRecApp::SetDescription |
( |
const QString & |
desc | ) |
|
|
signal |
◆ SendMessage
void MythExternRecApp::SendMessage |
( |
const QString & |
command, |
|
|
const QString & |
serial, |
|
|
const QString & |
message, |
|
|
const QString & |
status = "" |
|
) |
| |
|
signal |
Referenced by GetChannel(), HasPictureAttributes(), HasTuner(), LoadChannels(), LockTimeout(), main(), MythLog(), Open(), ProcError(), ProcReadStandardError(), ProcStateChanged(), SetBlockSize(), StartStreaming(), StopStreaming(), TuneChannel(), and TuneStatus().
◆ ErrorMessage
void MythExternRecApp::ErrorMessage |
( |
const QString & |
msg | ) |
|
|
signal |
◆ Opened
void MythExternRecApp::Opened |
( |
void |
| ) |
|
|
signal |
◆ Done
void MythExternRecApp::Done |
( |
void |
| ) |
|
|
signal |
◆ Streaming
void MythExternRecApp::Streaming |
( |
bool |
val | ) |
|
|
signal |
◆ Fill
void MythExternRecApp::Fill |
( |
const QByteArray & |
buffer | ) |
|
|
signal |
◆ ProcStarted
Q_SLOT void MythExternRecApp::ProcStarted |
( |
void |
| ) |
|
|
slot |
◆ ProcFinished
Q_SLOT void MythExternRecApp::ProcFinished |
( |
int |
exitCode, |
|
|
QProcess::ExitStatus |
exitStatus |
|
) |
| |
|
slot |
◆ ProcStateChanged
Q_SLOT void MythExternRecApp::ProcStateChanged |
( |
QProcess::ProcessState |
newState | ) |
|
|
slot |
◆ ProcError
Q_SLOT void MythExternRecApp::ProcError |
( |
QProcess::ProcessError |
error | ) |
|
|
slot |
◆ ProcReadStandardError
Q_SLOT void MythExternRecApp::ProcReadStandardError |
( |
void |
| ) |
|
|
slot |
◆ ProcReadStandardOutput
Q_SLOT void MythExternRecApp::ProcReadStandardOutput |
( |
void |
| ) |
|
|
slot |
◆ Close
Q_SLOT void MythExternRecApp::Close |
( |
void |
| ) |
|
|
slot |
◆ StartStreaming
Q_SLOT void MythExternRecApp::StartStreaming |
( |
const QString & |
serial | ) |
|
|
slot |
◆ StopStreaming
Q_SLOT void MythExternRecApp::StopStreaming |
( |
const QString & |
serial, |
|
|
bool |
silent |
|
) |
| |
|
slot |
◆ LockTimeout
Q_SLOT void MythExternRecApp::LockTimeout |
( |
const QString & |
serial | ) |
|
|
slot |
◆ HasTuner
Q_SLOT void MythExternRecApp::HasTuner |
( |
const QString & |
serial | ) |
|
|
slot |
◆ Cleanup
Q_SLOT void MythExternRecApp::Cleanup |
( |
void |
| ) |
|
|
slot |
◆ DataStarted
Q_SLOT void MythExternRecApp::DataStarted |
( |
void |
| ) |
|
|
slot |
◆ LoadChannels
Q_SLOT void MythExternRecApp::LoadChannels |
( |
const QString & |
serial | ) |
|
|
slot |
◆ FirstChannel
Q_SLOT void MythExternRecApp::FirstChannel |
( |
const QString & |
serial | ) |
|
|
slot |
◆ NextChannel
Q_SLOT void MythExternRecApp::NextChannel |
( |
const QString & |
serial | ) |
|
|
slot |
◆ NewEpisodeStarting
void MythExternRecApp::NewEpisodeStarting |
( |
void |
| ) |
|
|
slot |
◆ TuneChannel
Q_SLOT void MythExternRecApp::TuneChannel |
( |
const QString & |
serial, |
|
|
const QVariantMap & |
chaninfo |
|
) |
| |
|
slot |
◆ TuneStatus
Q_SLOT void MythExternRecApp::TuneStatus |
( |
const QString & |
serial | ) |
|
|
slot |
◆ HasPictureAttributes
Q_SLOT void MythExternRecApp::HasPictureAttributes |
( |
const QString & |
serial | ) |
|
|
slot |
◆ SetBlockSize
Q_SLOT void MythExternRecApp::SetBlockSize |
( |
const QString & |
serial, |
|
|
int |
blksz |
|
) |
| |
|
slot |
◆ GetChannel()
void MythExternRecApp::GetChannel |
( |
const QString & |
serial, |
|
|
const QString & |
func |
|
) |
| |
|
protected |
◆ TerminateProcess()
void MythExternRecApp::TerminateProcess |
( |
QProcess & |
proc, |
|
|
const QString & |
desc |
|
) |
| const |
|
protected |
◆ config()
bool MythExternRecApp::config |
( |
void |
| ) |
|
|
private |
◆ sanitize_var()
QString MythExternRecApp::sanitize_var |
( |
const QString & |
var | ) |
|
|
staticprivate |
◆ replace_extra_args()
QString MythExternRecApp::replace_extra_args |
( |
const QString & |
var, |
|
|
const QVariantMap & |
extra_args |
|
) |
| const |
|
private |
◆ m_terminating
bool MythExternRecApp::m_terminating { false } |
|
mutableprivate |
◆ m_fatal
◆ m_fatalMsg
QString MythExternRecApp::m_fatalMsg |
|
private |
◆ m_run
std::atomic<bool> MythExternRecApp::m_run { true } |
|
private |
◆ m_runCond
std::condition_variable MythExternRecApp::m_runCond |
|
private |
◆ m_runMutex
std::mutex MythExternRecApp::m_runMutex |
|
private |
◆ m_streaming
std::atomic<bool> MythExternRecApp::m_streaming { false } |
|
private |
◆ m_result
int MythExternRecApp::m_result { 0 } |
|
private |
◆ m_bufferMax
uint MythExternRecApp::m_bufferMax { 188 * 10000 } |
|
private |
◆ m_blockSize
◆ m_proc
QProcess MythExternRecApp::m_proc |
|
private |
Definition at line 115 of file MythExternRecApp.h.
Referenced by Close(), Desc(), Open(), ProcError(), ProcReadStandardError(), ProcReadStandardOutput(), ProcStarted(), ProcStateChanged(), Run(), StartStreaming(), and StopStreaming().
◆ m_command
QString MythExternRecApp::m_command |
|
private |
◆ m_cleanup
QString MythExternRecApp::m_cleanup |
|
private |
◆ m_recCommand
QString MythExternRecApp::m_recCommand |
|
private |
◆ m_recDesc
QString MythExternRecApp::m_recDesc |
|
private |
◆ m_appEnv
QMap<QString, QString> MythExternRecApp::m_appEnv |
|
private |
◆ m_settingVars
QMap<QString, QString> MythExternRecApp::m_settingVars |
|
private |
◆ m_chaninfo
QVariantMap MythExternRecApp::m_chaninfo |
|
private |
◆ m_tuneProc
QProcess MythExternRecApp::m_tuneProc |
|
private |
◆ m_finishTuneProc
QProcess MythExternRecApp::m_finishTuneProc |
|
private |
◆ m_tuneCommand
QString MythExternRecApp::m_tuneCommand |
|
private |
◆ m_onDataStart
QString MythExternRecApp::m_onDataStart |
|
private |
◆ m_newEpisodeCommand
QString MythExternRecApp::m_newEpisodeCommand |
|
private |
◆ m_channelsIni
QString MythExternRecApp::m_channelsIni |
|
private |
◆ m_lockTimeout
uint MythExternRecApp::m_lockTimeout { 0 } |
|
private |
◆ m_scanCommand
QString MythExternRecApp::m_scanCommand |
|
private |
◆ m_scanTimeout
uint MythExternRecApp::m_scanTimeout { 120000 } |
|
private |
◆ m_logFile
QString MythExternRecApp::m_logFile |
|
private |
◆ m_logging
QString MythExternRecApp::m_logging |
|
private |
◆ m_configIni
QString MythExternRecApp::m_configIni |
|
private |
◆ m_desc
QString MythExternRecApp::m_desc |
|
private |
◆ m_tuningChannel
QString MythExternRecApp::m_tuningChannel |
|
private |
◆ m_tunedChannel
QString MythExternRecApp::m_tunedChannel |
|
private |
◆ m_chanSettings
QSettings* MythExternRecApp::m_chanSettings { nullptr } |
|
private |
◆ m_channels
QStringList MythExternRecApp::m_channels |
|
private |
◆ m_channelIdx
int MythExternRecApp::m_channelIdx { -1 } |
|
private |
The documentation for this class was generated from the following files: