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 | |
| MythCoreContext * | m_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 | |
| MythSocket * | m_serverSock |
| socket for sending MythProto requests | |
| MythSocket * | m_eventSock |
| socket events arrive on | |
| QMutex | m_WOLInProgressLock |
| QWaitCondition | m_WOLInProgressWaitCondition |
| bool | m_WOLInProgress |
| bool | m_backend |
| MythDB * | m_database |
| QThread * | m_UIThread |
| MythLocale * | m_locale |
| QString | language |
| MythScheduler * | m_scheduler |
| bool | m_blockingClient |
Definition at line 48 of file mythcorecontext.cpp.
| 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.
| 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().
Definition at line 58 of file mythcorecontext.cpp.
| QObject* MythCoreContextPrivate::m_GUIcontext |
Definition at line 59 of file mythcorecontext.cpp.
Referenced by MythCoreContext::CheckProtoVersion(), MythCoreContext::ConnectCommandSocket(), MythCoreContext::ConnectToMasterServer(), and MythCoreContext::SendReceiveStringList().
| QObject* MythCoreContextPrivate::m_GUIobject |
Definition at line 60 of file mythcorecontext.cpp.
Referenced by MythCoreContext::GetGUIObject(), MythCoreContext::HasGUI(), and MythCoreContext::SetGUIObject().
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().
hostname from config.xml or gethostname()
Definition at line 64 of file mythcorecontext.cpp.
Referenced by MythCoreContext::ConnectEventSocket(), MythCoreContext::ConnectToMasterServer(), MythCoreContext::GetBackendServerIP(), MythCoreContext::GetHostName(), MythCoreContext::GetMasterHostName(), 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().
protects both m_serverSock and m_eventSock
Definition at line 68 of file mythcorecontext.cpp.
Referenced by MythCoreContext::AllowShutdown(), MythCoreContext::BlockShutdown(), MythCoreContext::connectionClosed(), MythCoreContext::GetMasterHostPrefix(), MythCoreContext::IsConnectedToMaster(), MythCoreContext::SendReceiveStringList(), and ~MythCoreContextPrivate().
socket for sending MythProto requests
Definition at line 69 of file mythcorecontext.cpp.
Referenced by MythCoreContext::AllowShutdown(), MythCoreContext::BlockShutdown(), MythCoreContext::connectionClosed(), MythCoreContext::ConnectToMasterServer(), MythCoreContext::GetMasterHostPrefix(), MythCoreContext::IsConnectedToMaster(), MythCoreContext::SendReceiveStringList(), and ~MythCoreContextPrivate().
socket events arrive on
Definition at line 70 of file mythcorecontext.cpp.
Referenced by MythCoreContext::AllowShutdown(), MythCoreContext::BlockShutdown(), MythCoreContext::connectionClosed(), MythCoreContext::ConnectToMasterServer(), MythCoreContext::SendReceiveStringList(), and ~MythCoreContextPrivate().
Definition at line 72 of file mythcorecontext.cpp.
Referenced by MythCoreContext::ConnectCommandSocket(), and WaitForWOL().
| QWaitCondition MythCoreContextPrivate::m_WOLInProgressWaitCondition |
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 78 of file mythcorecontext.cpp.
Referenced by MythCoreContext::ActivateSettingsCache(), MythCoreContext::ClearOverrideSettingForSession(), MythCoreContext::ClearSettingsCache(), MythCoreContext::GetDB(), MythCoreContext::GetDBManager(), MythCoreContext::GetFloatSetting(), MythCoreContext::GetFloatSettingOnHost(), MythCoreContext::GetNumSetting(), MythCoreContext::GetNumSettingOnHost(), MythCoreContext::GetResolutionSetting(), MythCoreContext::GetSetting(), MythCoreContext::GetSettingOnHost(), MythCoreContext::IsDatabaseIgnored(), MythCoreContext::OverrideSettingForSession(), MythCoreContext::SaveSetting(), MythCoreContext::SaveSettingOnHost(), MythCoreContext::SetLocalHostname(), and ~MythCoreContextPrivate().
| QThread* MythCoreContextPrivate::m_UIThread |
Definition at line 80 of file mythcorecontext.cpp.
Referenced by MythCoreContext::IsUIThread().
Definition at line 82 of file mythcorecontext.cpp.
Referenced by MythCoreContext::GetLocale(), MythCoreContext::GetQLocale(), MythCoreContext::InitLocale(), MythCoreContext::ReInitLocale(), MythCoreContext::SaveLocaleDefaults(), and ~MythCoreContextPrivate().
| QString MythCoreContextPrivate::language |
Definition at line 83 of file mythcorecontext.cpp.
Referenced by MythCoreContext::GetLanguageAndVariant(), and MythCoreContext::ResetLanguage().
Definition at line 85 of file mythcorecontext.cpp.
Referenced by MythCoreContext::GetScheduler(), and MythCoreContext::SetScheduler().
Definition at line 87 of file mythcorecontext.cpp.
Referenced by MythCoreContext::AllowShutdown(), MythCoreContext::BlockShutdown(), MythCoreContext::ConnectToMasterServer(), and MythCoreContext::IsBlockingClient().
1.6.3