MythTV  master
Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Slots | Private Attributes | List of all members
MHInteractionChannel Class Reference

#include <mhegic.h>

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

Public Types

enum  EStatus { kActive = 0, kInactive, kDisabled }
 
enum  EResult { kError = -1, kSuccess = 0, kPending }
 

Public Member Functions

 MHInteractionChannel (QObject *parent=nullptr)
 
virtual ~MHInteractionChannel ()
 
bool CheckFile (const QString &csPath, const QByteArray &cert=QByteArray())
 
EResult GetFile (const QString &csPath, QByteArray &data, const QByteArray &cert=QByteArray())
 

Static Public Member Functions

static EStatus status ()
 

Private Types

typedef QHash< QUrl, NetStream * > map_t
 

Private Slots

void slotFinished (QObject *)
 

Private Attributes

QMutex m_mutex
 
map_t m_pending
 
map_t m_finished
 

Detailed Description

Definition at line 16 of file mhegic.h.

Member Typedef Documentation

◆ map_t

typedef QHash< QUrl, NetStream* > MHInteractionChannel::map_t
private

Definition at line 47 of file mhegic.h.

Member Enumeration Documentation

◆ EStatus

Enumerator
kActive 
kInactive 
kDisabled 

Definition at line 27 of file mhegic.h.

◆ EResult

Enumerator
kError 
kSuccess 
kPending 

Definition at line 35 of file mhegic.h.

Constructor & Destructor Documentation

◆ MHInteractionChannel()

MHInteractionChannel::MHInteractionChannel ( QObject *  parent = nullptr)
explicit

Definition at line 26 of file mhegic.cpp.

◆ ~MHInteractionChannel()

MHInteractionChannel::~MHInteractionChannel ( )
virtual

Definition at line 33 of file mhegic.cpp.

Member Function Documentation

◆ status()

MHInteractionChannel::EStatus MHInteractionChannel::status ( )
static

Definition at line 44 of file mhegic.cpp.

Referenced by MHIContext::GetICStatus().

◆ CheckFile()

bool MHInteractionChannel::CheckFile ( const QString &  csPath,
const QByteArray &  cert = QByteArray() 
)

Definition at line 69 of file mhegic.cpp.

Referenced by MHIContext::CheckCarouselObject().

◆ GetFile()

MHInteractionChannel::EResult MHInteractionChannel::GetFile ( const QString &  csPath,
QByteArray &  data,
const QByteArray &  cert = QByteArray() 
)

Definition at line 103 of file mhegic.cpp.

Referenced by MHIContext::GetCarouselData().

◆ slotFinished

void MHInteractionChannel::slotFinished ( QObject *  obj)
privateslot

Definition at line 166 of file mhegic.cpp.

Referenced by CheckFile(), and GetFile().

Member Data Documentation

◆ m_mutex

QMutex MHInteractionChannel::m_mutex
mutableprivate

Definition at line 46 of file mhegic.h.

Referenced by CheckFile(), GetFile(), slotFinished(), and ~MHInteractionChannel().

◆ m_pending

map_t MHInteractionChannel::m_pending
private

Definition at line 48 of file mhegic.h.

Referenced by CheckFile(), GetFile(), slotFinished(), and ~MHInteractionChannel().

◆ m_finished

map_t MHInteractionChannel::m_finished
private

Definition at line 49 of file mhegic.h.

Referenced by CheckFile(), GetFile(), slotFinished(), and ~MHInteractionChannel().


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