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

#include <backendcontext.h>

Public Member Functions

 BackendContext ()=default
 
 ~BackendContext ()
 
void SetFrontendConnected (Frontend *frontend)
 
void SetFrontendDisconnected (const QString &name)
 
const QMap< QString, Frontend * > GetConnectedFrontends () const
 
const QMap< QString, Frontend * > GetFrontends () const
 

Private Attributes

QMap< QString, Frontend * > m_connectedFrontends
 
QMap< QString, Frontend * > m_knownFrontends
 

Detailed Description

Definition at line 42 of file backendcontext.h.

Constructor & Destructor Documentation

◆ BackendContext()

BackendContext::BackendContext ( )
default

◆ ~BackendContext()

BackendContext::~BackendContext ( )

Definition at line 17 of file backendcontext.cpp.

Member Function Documentation

◆ SetFrontendConnected()

void BackendContext::SetFrontendConnected ( Frontend frontend)

Definition at line 32 of file backendcontext.cpp.

Referenced by MainServer::HandleAnnounce().

◆ SetFrontendDisconnected()

void BackendContext::SetFrontendDisconnected ( const QString &  name)

Definition at line 79 of file backendcontext.cpp.

Referenced by MainServer::connectionClosed().

◆ GetConnectedFrontends()

const QMap<QString, Frontend*> BackendContext::GetConnectedFrontends ( ) const
inline

Definition at line 51 of file backendcontext.h.

Referenced by Myth::GetFrontends().

◆ GetFrontends()

const QMap<QString, Frontend*> BackendContext::GetFrontends ( ) const
inline

Definition at line 52 of file backendcontext.h.

Referenced by Myth::GetFrontends().

Member Data Documentation

◆ m_connectedFrontends

QMap<QString, Frontend*> BackendContext::m_connectedFrontends
private

◆ m_knownFrontends

QMap<QString, Frontend*> BackendContext::m_knownFrontends
private

Definition at line 56 of file backendcontext.h.

Referenced by GetFrontends(), SetFrontendConnected(), and ~BackendContext().


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