MythTV  master
Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MythSystemLegacyPrivate Class Referenceabstract

-*- Mode: c++ -*- More...

#include <mythsystemprivate.h>

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

Signals

void started (void)
 
void finished (void)
 
void error (uint status)
 
void readDataReady (int fd)
 

Public Member Functions

 MythSystemLegacyPrivate (const QString &debugName)
 
virtual void Fork (std::chrono::seconds timeout)=0
 
virtual void Manage (void)=0
 
virtual void Term (bool force=false)=0
 
virtual void Signal (int sig)=0
 
virtual void JumpAbort (void)=0
 
virtual bool ParseShell (const QString &cmd, QString &abscmd, QStringList &args)=0
 
- 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...
 

Protected Member Functions

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

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}
 

Additional Inherited Members

- Static Public Member Functions inherited from ReferenceCounter
static void PrintDebug (void)
 Print out any leaks if that level of debugging is enabled. More...
 

Detailed Description

-*- Mode: c++ -*-

Definition at line 21 of file mythsystemprivate.h.

Constructor & Destructor Documentation

◆ MythSystemLegacyPrivate()

MythSystemLegacyPrivate::MythSystemLegacyPrivate ( const QString &  debugName)
explicit

Definition at line 501 of file mythsystemlegacy.cpp.

Member Function Documentation

◆ Fork()

virtual void MythSystemLegacyPrivate::Fork ( std::chrono::seconds  timeout)
pure virtual

◆ Manage()

virtual void MythSystemLegacyPrivate::Manage ( void  )
pure virtual

◆ Term()

virtual void MythSystemLegacyPrivate::Term ( bool  force = false)
pure virtual

◆ Signal()

virtual void MythSystemLegacyPrivate::Signal ( int  sig)
pure virtual

◆ JumpAbort()

virtual void MythSystemLegacyPrivate::JumpAbort ( void  )
pure virtual

◆ ParseShell()

virtual bool MythSystemLegacyPrivate::ParseShell ( const QString &  cmd,
QString &  abscmd,
QStringList &  args 
)
pure virtual

◆ GetStatus()

uint MythSystemLegacyPrivate::GetStatus ( void  )
inlineprotected

◆ SetStatus()

void MythSystemLegacyPrivate::SetStatus ( uint  status)
inlineprotected

◆ GetLogCmd()

QString& MythSystemLegacyPrivate::GetLogCmd ( void  )
inlineprotected

◆ GetDirectory()

QString& MythSystemLegacyPrivate::GetDirectory ( void  )
inlineprotected

◆ GetSetting()

bool MythSystemLegacyPrivate::GetSetting ( const char *  setting)
inlineprotected

◆ GetCommand()

QString& MythSystemLegacyPrivate::GetCommand ( void  )
inlineprotected

◆ SetCommand()

void MythSystemLegacyPrivate::SetCommand ( const QString &  cmd)
inlineprotected

◆ GetArgs()

QStringList& MythSystemLegacyPrivate::GetArgs ( void  )
inlineprotected

◆ SetArgs()

void MythSystemLegacyPrivate::SetArgs ( const QStringList &  args)
inlineprotected

Definition at line 61 of file mythsystemprivate.h.

Referenced by MythSystemLegacyUnix::Fork().

◆ GetBuffer()

QBuffer* MythSystemLegacyPrivate::GetBuffer ( int  index)
inlineprotected

Definition at line 65 of file mythsystemprivate.h.

Referenced by MythSystemLegacyManager::append().

◆ Unlock()

void MythSystemLegacyPrivate::Unlock ( void  )
inlineprotected

Definition at line 68 of file mythsystemprivate.h.

Referenced by MythSystemLegacySignalManager::run().

◆ started

void MythSystemLegacyPrivate::started ( void  )
signal

◆ finished

void MythSystemLegacyPrivate::finished ( void  )
signal

◆ error

void MythSystemLegacyPrivate::error ( uint  status)
signal

◆ readDataReady

void MythSystemLegacyPrivate::readDataReady ( int  fd)
signal

Member Data Documentation

◆ m_parent

QPointer<MythSystemLegacy> MythSystemLegacyPrivate::m_parent
protected

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