MythTV  master
Public Member Functions | Private Attributes | Friends | List of all members
MythSystemLegacyWindows Class Reference

#include <mythsystemwindows.h>

Inheritance diagram for MythSystemLegacyWindows:
Inheritance graph
[legend]
Collaboration diagram for MythSystemLegacyWindows:
Collaboration graph
[legend]

Public Member Functions

 MythSystemLegacyWindows (MythSystemLegacy *parent)
 
 ~MythSystemLegacyWindows ()=default
 
void Fork (time_t 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

HANDLE m_child {nullptr}
 
time_t m_timeout {0}
 
HANDLE m_stdpipe [3]
 

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 (QString &cmd)
 
QStringList & GetArgs (void)
 
void SetArgs (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< MythSystemLegacym_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}
 

Detailed Description

Definition at line 87 of file mythsystemwindows.h.

Constructor & Destructor Documentation

◆ MythSystemLegacyWindows()

MythSystemLegacyWindows::MythSystemLegacyWindows ( MythSystemLegacy parent)
explicit

Definition at line 517 of file mythsystemwindows.cpp.

◆ ~MythSystemLegacyWindows()

MythSystemLegacyWindows::~MythSystemLegacyWindows ( )
default

Member Function Documentation

◆ Fork()

void MythSystemLegacyWindows::Fork ( time_t  timeout)
overridevirtual

Implements MythSystemLegacyPrivate.

Definition at line 588 of file mythsystemwindows.cpp.

◆ Manage()

void MythSystemLegacyWindows::Manage ( void  )
overridevirtual

Implements MythSystemLegacyPrivate.

Definition at line 768 of file mythsystemwindows.cpp.

◆ Term()

void MythSystemLegacyWindows::Term ( bool  force = false)
overridevirtual

Implements MythSystemLegacyPrivate.

Definition at line 563 of file mythsystemwindows.cpp.

◆ Signal()

void MythSystemLegacyWindows::Signal ( int  sig)
overridevirtual

Implements MythSystemLegacyPrivate.

Definition at line 577 of file mythsystemwindows.cpp.

Referenced by Term().

◆ JumpAbort()

void MythSystemLegacyWindows::JumpAbort ( void  )
overridevirtual

Implements MythSystemLegacyPrivate.

Definition at line 778 of file mythsystemwindows.cpp.

◆ ParseShell()

bool MythSystemLegacyWindows::ParseShell ( const QString &  cmd,
QString &  abscmd,
QStringList &  args 
)
overridevirtual

Implements MythSystemLegacyPrivate.

Definition at line 558 of file mythsystemwindows.cpp.

Friends And Related Function Documentation

◆ MythSystemLegacyManager

friend class MythSystemLegacyManager
friend

Definition at line 105 of file mythsystemwindows.h.

Referenced by JumpAbort(), Manage(), and MythSystemLegacyWindows().

◆ MythSystemLegacySignalManager

friend class MythSystemLegacySignalManager
friend

Definition at line 106 of file mythsystemwindows.h.

Referenced by MythSystemLegacyWindows().

◆ MythSystemLegacyIOHandler

friend class MythSystemLegacyIOHandler
friend

Definition at line 107 of file mythsystemwindows.h.

Referenced by MythSystemLegacyWindows().

Member Data Documentation

◆ m_child

HANDLE MythSystemLegacyWindows::m_child {nullptr}
private

Definition at line 110 of file mythsystemwindows.h.

Referenced by MythSystemLegacyManager::append(), Fork(), Signal(), and Term().

◆ m_timeout

time_t MythSystemLegacyWindows::m_timeout {0}
private

Definition at line 111 of file mythsystemwindows.h.

Referenced by Fork().

◆ m_stdpipe

HANDLE MythSystemLegacyWindows::m_stdpipe[3]
private

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