MythTV  master
Public Member Functions | Public Attributes | List of all members
MythCoreContextPrivate Class Reference
Inheritance diagram for MythCoreContextPrivate:
Inheritance graph
[legend]
Collaboration diagram for MythCoreContextPrivate:
Collaboration graph
[legend]

Public Member Functions

 MythCoreContextPrivate (MythCoreContext *lparent, QString binversion, QObject *guicontext)
 
 ~MythCoreContextPrivate () override
 
bool WaitForWOL (int timeout_in_ms=INT_MAX)
 If another thread has already started WOL process, wait on them... More...
 

Public Attributes

MythCoreContextm_parent
 
QObject * m_GUIcontext
 
QObject * m_GUIobject
 
QString m_appBinaryVersion
 
QMutex m_localHostLock
 Locking for m_localHostname. More...
 
QString m_localHostname
 hostname from config.xml or gethostname() More...
 
QMutex m_masterHostLock
 Locking for m_masterHostname. More...
 
QString m_masterHostname
 master backend hostname More...
 
QMutex m_scopesLock
 Locking for m_masterHostname. More...
 
QMap< QString, QString > m_scopes
 Scope Id cache for Link-Local addresses. More...
 
QMutex m_sockLock
 protects both m_serverSock and m_eventSock More...
 
MythSocketm_serverSock
 socket for sending MythProto requests More...
 
MythSocketm_eventSock
 socket events arrive on More...
 
QMutex m_WOLInProgressLock
 
QWaitCondition m_WOLInProgressWaitCondition
 
bool m_WOLInProgress
 
bool m_IsWOLAllowed
 
bool m_backend
 
bool m_frontend
 
MythDBm_database
 
QThread * m_UIThread
 
MythLocalem_locale
 
QString m_language
 
MythSchedulerm_scheduler
 
bool m_blockingClient
 
QMap< QObject *, QByteArray > m_playbackClients
 
QMutex m_playbackLock
 
bool m_inwanting
 
bool m_intvwanting
 
bool m_announcedProtocol
 
MythPluginManagerm_pluginmanager
 
bool m_isexiting
 
QMap< QString, QPair< int64_t, uint64_t > > m_fileswritten
 
QMutex m_fileslock
 
MythSessionManagerm_sessionManager
 
QList< QHostAddress > m_approvedIps
 
QList< QHostAddress > m_deniedIps
 

Detailed Description

Definition at line 56 of file mythcorecontext.cpp.

Constructor & Destructor Documentation

◆ MythCoreContextPrivate()

MythCoreContextPrivate::MythCoreContextPrivate ( MythCoreContext lparent,
QString  binversion,
QObject *  guicontext 
)

Definition at line 121 of file mythcorecontext.cpp.

◆ ~MythCoreContextPrivate()

MythCoreContextPrivate::~MythCoreContextPrivate ( )
override

Definition at line 165 of file mythcorecontext.cpp.

Member Function Documentation

◆ WaitForWOL()

bool MythCoreContextPrivate::WaitForWOL ( int  timeout_in_ms = INT_MAX)

If another thread has already started WOL process, wait on them...

Note: Caller must be holding m_WOLInProgressLock.

Definition at line 206 of file mythcorecontext.cpp.

Referenced by MythCoreContext::ConnectCommandSocket().

Member Data Documentation

◆ m_parent

MythCoreContext* MythCoreContextPrivate::m_parent

Definition at line 66 of file mythcorecontext.cpp.

◆ m_GUIcontext

QObject* MythCoreContextPrivate::m_GUIcontext

◆ m_GUIobject

QObject* MythCoreContextPrivate::m_GUIobject

◆ m_appBinaryVersion

QString MythCoreContextPrivate::m_appBinaryVersion

Definition at line 69 of file mythcorecontext.cpp.

Referenced by MythCoreContext::Init().

◆ m_localHostLock

QMutex MythCoreContextPrivate::m_localHostLock

Locking for m_localHostname.

Definition at line 71 of file mythcorecontext.cpp.

Referenced by MythCoreContext::GetHostName(), and MythCoreContext::SetLocalHostname().

◆ m_localHostname

QString MythCoreContextPrivate::m_localHostname

◆ m_masterHostLock

QMutex MythCoreContextPrivate::m_masterHostLock

Locking for m_masterHostname.

Definition at line 73 of file mythcorecontext.cpp.

Referenced by MythCoreContext::GetMasterHostName().

◆ m_masterHostname

QString MythCoreContextPrivate::m_masterHostname

master backend hostname

Definition at line 74 of file mythcorecontext.cpp.

Referenced by MythCoreContext::GetMasterHostName().

◆ m_scopesLock

QMutex MythCoreContextPrivate::m_scopesLock

Locking for m_masterHostname.

Definition at line 75 of file mythcorecontext.cpp.

Referenced by MythCoreContext::GetScopeForAddress(), and MythCoreContext::SetScopeForAddress().

◆ m_scopes

QMap<QString, QString> MythCoreContextPrivate::m_scopes

Scope Id cache for Link-Local addresses.

Definition at line 76 of file mythcorecontext.cpp.

Referenced by MythCoreContext::GetScopeForAddress(), and MythCoreContext::SetScopeForAddress().

◆ m_sockLock

QMutex MythCoreContextPrivate::m_sockLock

◆ m_serverSock

MythSocket* MythCoreContextPrivate::m_serverSock

◆ m_eventSock

MythSocket* MythCoreContextPrivate::m_eventSock

◆ m_WOLInProgressLock

QMutex MythCoreContextPrivate::m_WOLInProgressLock

Definition at line 82 of file mythcorecontext.cpp.

Referenced by MythCoreContext::ConnectCommandSocket(), and WaitForWOL().

◆ m_WOLInProgressWaitCondition

QWaitCondition MythCoreContextPrivate::m_WOLInProgressWaitCondition

Definition at line 83 of file mythcorecontext.cpp.

Referenced by MythCoreContext::ConnectCommandSocket(), and WaitForWOL().

◆ m_WOLInProgress

bool MythCoreContextPrivate::m_WOLInProgress

Definition at line 84 of file mythcorecontext.cpp.

Referenced by MythCoreContext::ConnectCommandSocket(), and WaitForWOL().

◆ m_IsWOLAllowed

bool MythCoreContextPrivate::m_IsWOLAllowed

◆ m_backend

bool MythCoreContextPrivate::m_backend

◆ m_frontend

bool MythCoreContextPrivate::m_frontend

◆ m_database

MythDB* MythCoreContextPrivate::m_database

◆ m_UIThread

QThread* MythCoreContextPrivate::m_UIThread

Definition at line 92 of file mythcorecontext.cpp.

Referenced by MythCoreContext::IsUIThread().

◆ m_locale

MythLocale* MythCoreContextPrivate::m_locale

◆ m_language

QString MythCoreContextPrivate::m_language

◆ m_scheduler

MythScheduler* MythCoreContextPrivate::m_scheduler

◆ m_blockingClient

bool MythCoreContextPrivate::m_blockingClient

◆ m_playbackClients

QMap<QObject *, QByteArray> MythCoreContextPrivate::m_playbackClients

◆ m_playbackLock

QMutex MythCoreContextPrivate::m_playbackLock

◆ m_inwanting

bool MythCoreContextPrivate::m_inwanting

◆ m_intvwanting

bool MythCoreContextPrivate::m_intvwanting

◆ m_announcedProtocol

bool MythCoreContextPrivate::m_announcedProtocol

Definition at line 106 of file mythcorecontext.cpp.

Referenced by MythCoreContext::CheckProtoVersion().

◆ m_pluginmanager

MythPluginManager* MythCoreContextPrivate::m_pluginmanager

◆ m_isexiting

bool MythCoreContextPrivate::m_isexiting

Definition at line 110 of file mythcorecontext.cpp.

Referenced by MythCoreContext::IsExiting(), and MythCoreContext::SetExiting().

◆ m_fileswritten

QMap<QString, QPair<int64_t, uint64_t> > MythCoreContextPrivate::m_fileswritten

◆ m_fileslock

QMutex MythCoreContextPrivate::m_fileslock

◆ m_sessionManager

MythSessionManager* MythCoreContextPrivate::m_sessionManager

◆ m_approvedIps

QList<QHostAddress> MythCoreContextPrivate::m_approvedIps

Definition at line 117 of file mythcorecontext.cpp.

Referenced by MythCoreContext::CheckSubnet().

◆ m_deniedIps

QList<QHostAddress> MythCoreContextPrivate::m_deniedIps

Definition at line 118 of file mythcorecontext.cpp.

Referenced by MythCoreContext::CheckSubnet().


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