MythCoreContextPrivate Class Reference

List of all members.

Public Member Functions

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

Public Attributes

MythCoreContextm_parent
QObject * m_GUIcontext
QObject * m_GUIobject
QString m_appBinaryVersion
QMutex m_localHostLock
 Locking for m_localHostname.
QString m_localHostname
 hostname from config.xml or gethostname()
QMutex m_masterHostLock
 Locking for m_masterHostname.
QString m_masterHostname
 master backend hostname
QMutex m_sockLock
 protects both m_serverSock and m_eventSock
MythSocketm_serverSock
 socket for sending MythProto requests
MythSocketm_eventSock
 socket events arrive on
QMutex m_WOLInProgressLock
QWaitCondition m_WOLInProgressWaitCondition
bool m_WOLInProgress
bool m_backend
MythDBm_database
QThread * m_UIThread
MythLocalem_locale
QString language
MythSchedulerm_scheduler
bool m_blockingClient

Detailed Description

Definition at line 48 of file mythcorecontext.cpp.


Constructor & Destructor Documentation

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

Definition at line 90 of file mythcorecontext.cpp.

MythCoreContextPrivate::~MythCoreContextPrivate (  ) 

Definition at line 113 of file mythcorecontext.cpp.


Member Function Documentation

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 159 of file mythcorecontext.cpp.

Referenced by MythCoreContext::ConnectCommandSocket().


Member Data Documentation

Definition at line 58 of file mythcorecontext.cpp.

Definition at line 61 of file mythcorecontext.cpp.

Referenced by MythCoreContext::Init().

Locking for m_localHostname.

Definition at line 63 of file mythcorecontext.cpp.

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

Locking for m_masterHostname.

Definition at line 65 of file mythcorecontext.cpp.

Referenced by MythCoreContext::GetMasterHostName().

master backend hostname

Definition at line 66 of file mythcorecontext.cpp.

Referenced by MythCoreContext::GetMasterHostName().

Definition at line 72 of file mythcorecontext.cpp.

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

Definition at line 73 of file mythcorecontext.cpp.

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

Definition at line 74 of file mythcorecontext.cpp.

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

Definition at line 76 of file mythcorecontext.cpp.

Referenced by MythCoreContext::IsBackend(), and MythCoreContext::SetBackend().

Definition at line 80 of file mythcorecontext.cpp.

Referenced by MythCoreContext::IsUIThread().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Fri May 25 06:42:13 2012 for MythTV by  doxygen 1.6.3