MythTV
master
|
#include <libmythbase/mythsystemunix.h>
Public Member Functions | |
MythSystemLegacyUnix (MythSystemLegacy *parent) | |
~MythSystemLegacyUnix () override=default | |
void | Fork (std::chrono::seconds timeout) override |
void | Manage (void) override |
void | Term (bool force=false) override |
void | Signal (int sig) override |
void | JumpAbort (void) override |
bool | ParseShell (const QString &cmd, QString &abscmd, QStringList &args) override |
Public Member Functions inherited from MythSystemLegacyPrivate | |
MythSystemLegacyPrivate (const QString &debugName) | |
Public Member Functions inherited from ReferenceCounter | |
ReferenceCounter (const QString &debugName, bool logDebug=true) | |
Creates reference counter with an initial value of 1. More... | |
virtual int | IncrRef (void) |
Increments reference count. More... | |
virtual int | DecrRef (void) |
Decrements reference count and deletes on 0. More... | |
Private Attributes | |
pid_t | m_pid {0} |
SystemTime | m_timeout {0s} |
std::array< int, 3 > | m_stdpipe {-1, -1, -1} |
Friends | |
class | MythSystemLegacyManager |
class | MythSystemLegacySignalManager |
class | MythSystemLegacyIOHandler |
Additional Inherited Members | |
Signals inherited from MythSystemLegacyPrivate | |
void | started (void) |
void | finished (void) |
void | error (uint status) |
void | readDataReady (int fd) |
Static Public Member Functions inherited from ReferenceCounter | |
static void | PrintDebug (void) |
Print out any leaks if that level of debugging is enabled. More... | |
Protected Member Functions inherited from MythSystemLegacyPrivate | |
uint | GetStatus (void) |
void | SetStatus (uint status) |
QString & | GetLogCmd (void) |
QString & | GetDirectory (void) |
bool | GetSetting (const char *setting) |
QString & | GetCommand (void) |
void | SetCommand (const QString &cmd) |
QStringList & | GetArgs (void) |
void | SetArgs (const QStringList &args) |
QBuffer * | GetBuffer (int index) |
void | Unlock (void) |
Protected Member Functions inherited from ReferenceCounter | |
virtual | ~ReferenceCounter (void) |
Called on destruction, will warn if object deleted with references in place. More... | |
Protected Attributes inherited from MythSystemLegacyPrivate | |
QPointer< MythSystemLegacy > | m_parent |
Protected Attributes inherited from ReferenceCounter | |
bool | m_logDebug |
This is used to suppress creating LoggingItem classes for LoggingItem reference count changes. More... | |
QAtomicInt | m_referenceCount {1} |
Definition at line 92 of file mythsystemunix.h.
|
explicit |
Definition at line 564 of file mythsystemunix.cpp.
|
overridedefault |
|
overridevirtual |
Implements MythSystemLegacyPrivate.
Definition at line 789 of file mythsystemunix.cpp.
|
overridevirtual |
Implements MythSystemLegacyPrivate.
Definition at line 1182 of file mythsystemunix.cpp.
Implements MythSystemLegacyPrivate.
Definition at line 753 of file mythsystemunix.cpp.
|
overridevirtual |
Implements MythSystemLegacyPrivate.
Definition at line 773 of file mythsystemunix.cpp.
Referenced by Term().
|
overridevirtual |
Implements MythSystemLegacyPrivate.
Definition at line 1186 of file mythsystemunix.cpp.
|
overridevirtual |
Implements MythSystemLegacyPrivate.
Definition at line 601 of file mythsystemunix.cpp.
|
friend |
Definition at line 110 of file mythsystemunix.h.
Referenced by Fork(), JumpAbort(), and MythSystemLegacyUnix().
|
friend |
Definition at line 111 of file mythsystemunix.h.
Referenced by MythSystemLegacyUnix().
|
friend |
Definition at line 112 of file mythsystemunix.h.
Referenced by MythSystemLegacyUnix().
|
private |
Definition at line 115 of file mythsystemunix.h.
Referenced by MythSystemLegacyManager::append(), Fork(), Signal(), and Term().
|
private |
Definition at line 116 of file mythsystemunix.h.
Referenced by Fork().
|
private |
Definition at line 118 of file mythsystemunix.h.
Referenced by MythSystemLegacyManager::append(), Fork(), and MythSystemLegacySignalManager::run().