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

Events sent by the DecoderHandler and it's helper classes. More...

#include <decoderhandler.h>

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

Public Member Functions

 DecoderHandlerEvent (Type type)
 
 DecoderHandlerEvent (Type type, QString *e)
 
 DecoderHandlerEvent (Type type, int available, int maxSize)
 
 DecoderHandlerEvent (Type type, const MusicMetadata &m)
 
 ~DecoderHandlerEvent ()
 
QString * getMessage (void) const
 
MusicMetadatagetMetadata (void) const
 
void getBufferStatus (int *available, int *maxSize) const
 
MythEventclone (void) const override
 
- Public Member Functions inherited from MythEvent
 MythEvent (int type)
 
 MythEvent (int type, QString lmessage)
 
 MythEvent (int type, QString lmessage, const QStringList &lextradata)
 
 MythEvent (QString lmessage)
 
 MythEvent (QString lmessage, const QStringList &lextradata)
 
 MythEvent (QString lmessage, const QString lextradata)
 
virtual ~MythEvent ()=default
 
const QString & Message () const
 
const QString & ExtraData (int idx=0) const
 
const QStringList & ExtraDataList () const
 
int ExtraDataCount () const
 

Static Public Attributes

static Type Ready = (QEvent::Type) QEvent::registerEventType()
 
static Type Meta = (QEvent::Type) QEvent::registerEventType()
 
static Type BufferStatus = (QEvent::Type) QEvent::registerEventType()
 
static Type OperationStart = (QEvent::Type) QEvent::registerEventType()
 
static Type OperationStop = (QEvent::Type) QEvent::registerEventType()
 
static Type Error = (QEvent::Type) QEvent::registerEventType()
 
- Static Public Attributes inherited from MythEvent
static Type MythEventMessage
 
static Type MythUserMessage
 
static Type kUpdateTvProgressEventType
 
static Type kExitToMainMenuEventType
 
static Type kMythPostShowEventType
 
static Type kPushDisableDrawingEventType
 
static Type kPopDisableDrawingEventType
 
static Type kLockInputDevicesEventType
 
static Type kUnlockInputDevicesEventType
 
static Type kUpdateBrowseInfoEventType
 
static Type kDisableUDPListenerEventType
 
static Type kEnableUDPListenerEventType
 

Private Attributes

QString * m_msg {nullptr}
 
MusicMetadatam_meta {nullptr}
 
int m_available {0}
 
int m_maxSize {0}
 

Additional Inherited Members

- Protected Attributes inherited from MythEvent
QString m_message
 
QStringList m_extradata
 

Detailed Description

Events sent by the DecoderHandler and it's helper classes.

Definition at line 26 of file decoderhandler.h.

Constructor & Destructor Documentation

◆ DecoderHandlerEvent() [1/4]

DecoderHandlerEvent::DecoderHandlerEvent ( Type  type)
inlineexplicit

Definition at line 29 of file decoderhandler.h.

Referenced by clone().

◆ DecoderHandlerEvent() [2/4]

DecoderHandlerEvent::DecoderHandlerEvent ( Type  type,
QString *  e 
)
inline

Definition at line 32 of file decoderhandler.h.

◆ DecoderHandlerEvent() [3/4]

DecoderHandlerEvent::DecoderHandlerEvent ( Type  type,
int  available,
int  maxSize 
)
inline

Definition at line 35 of file decoderhandler.h.

◆ DecoderHandlerEvent() [4/4]

DecoderHandlerEvent::DecoderHandlerEvent ( Type  type,
const MusicMetadata m 
)

Definition at line 34 of file decoderhandler.cpp.

◆ ~DecoderHandlerEvent()

DecoderHandlerEvent::~DecoderHandlerEvent ( void  )

Definition at line 40 of file decoderhandler.cpp.

Member Function Documentation

◆ getMessage()

QString* DecoderHandlerEvent::getMessage ( void  ) const
inline

◆ getMetadata()

MusicMetadata* DecoderHandlerEvent::getMetadata ( void  ) const
inline

Definition at line 42 of file decoderhandler.h.

Referenced by MusicPlayer::customEvent().

◆ getBufferStatus()

void DecoderHandlerEvent::getBufferStatus ( int *  available,
int *  maxSize 
) const

◆ clone()

MythEvent * DecoderHandlerEvent::clone ( void  ) const
overridevirtual

Reimplemented from MythEvent.

Definition at line 46 of file decoderhandler.cpp.

Member Data Documentation

◆ Ready

QEvent::Type DecoderHandlerEvent::Ready = (QEvent::Type) QEvent::registerEventType()
static

Definition at line 47 of file decoderhandler.h.

Referenced by MusicPlayer::customEvent(), and DecoderHandler::doConnectDecoder().

◆ Meta

QEvent::Type DecoderHandlerEvent::Meta = (QEvent::Type) QEvent::registerEventType()
static

◆ BufferStatus

QEvent::Type DecoderHandlerEvent::BufferStatus = (QEvent::Type) QEvent::registerEventType()
static

◆ OperationStart

QEvent::Type DecoderHandlerEvent::OperationStart = (QEvent::Type) QEvent::registerEventType()
static

◆ OperationStop

QEvent::Type DecoderHandlerEvent::OperationStop = (QEvent::Type) QEvent::registerEventType()
static

◆ Error

QEvent::Type DecoderHandlerEvent::Error = (QEvent::Type) QEvent::registerEventType()
static

◆ m_msg

QString* DecoderHandlerEvent::m_msg {nullptr}
private

Definition at line 55 of file decoderhandler.h.

Referenced by clone(), getMessage(), and ~DecoderHandlerEvent().

◆ m_meta

MusicMetadata* DecoderHandlerEvent::m_meta {nullptr}
private

Definition at line 56 of file decoderhandler.h.

Referenced by clone(), DecoderHandlerEvent(), getMetadata(), and ~DecoderHandlerEvent().

◆ m_available

int DecoderHandlerEvent::m_available {0}
private

Definition at line 57 of file decoderhandler.h.

Referenced by clone(), and getBufferStatus().

◆ m_maxSize

int DecoderHandlerEvent::m_maxSize {0}
private

Definition at line 58 of file decoderhandler.h.

Referenced by clone(), and getBufferStatus().


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