MythTV  master
Public Member Functions | Static Public Attributes | Protected Member Functions | 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
Collaboration diagram for DecoderHandlerEvent:
Collaboration graph

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 () override
QString * getMessage (void) const
MusicMetadatagetMetadata (void) const
void getBufferStatus (int *available, int *maxSize) const
MythEventclone (void) const override
 DecoderHandlerEvent (DecoderHandlerEvent &&)=delete
DecoderHandlerEventoperator= (DecoderHandlerEvent &&)=delete
- Public Member Functions inherited from MythEvent
 MythEvent (int type)
 MythEvent (int type, QString lmessage)
 MythEvent (int type, QString lmessage, QStringList lextradata)
 MythEvent (QString lmessage)
 MythEvent (QString lmessage, QStringList lextradata)
 MythEvent (QString lmessage, const QString &lextradata)
 ~MythEvent () override
const QString & Message () const
const QString & ExtraData (int idx=0) const
const QStringList & ExtraDataList () const
int ExtraDataCount () const
void log (const QString &prefix)
MythEventclone () const override
 MythEvent (MythEvent &&)=delete
MythEventoperator= (MythEvent &&)=delete

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

Protected Member Functions

 DecoderHandlerEvent (const DecoderHandlerEvent &other)=default
DecoderHandlerEventoperator= (const DecoderHandlerEvent &other)=default
- Protected Member Functions inherited from MythEvent
 MythEvent (const MythEvent &other)=default
MythEventoperator= (const MythEvent &other)=default

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 25 of file decoderhandler.h.

Constructor & Destructor Documentation

◆ DecoderHandlerEvent() [1/6]

DecoderHandlerEvent::DecoderHandlerEvent ( Type  type)

Definition at line 28 of file decoderhandler.h.

Referenced by clone().

◆ DecoderHandlerEvent() [2/6]

DecoderHandlerEvent::DecoderHandlerEvent ( Type  type,
QString *  e 

Definition at line 31 of file decoderhandler.h.

◆ DecoderHandlerEvent() [3/6]

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

Definition at line 34 of file decoderhandler.h.

◆ DecoderHandlerEvent() [4/6]

DecoderHandlerEvent::DecoderHandlerEvent ( Type  type,
const MusicMetadata m 

Definition at line 33 of file decoderhandler.cpp.

◆ ~DecoderHandlerEvent()

DecoderHandlerEvent::~DecoderHandlerEvent ( )

Definition at line 39 of file decoderhandler.cpp.

◆ DecoderHandlerEvent() [5/6]

DecoderHandlerEvent::DecoderHandlerEvent ( const DecoderHandlerEvent other)

◆ DecoderHandlerEvent() [6/6]

DecoderHandlerEvent::DecoderHandlerEvent ( DecoderHandlerEvent &&  )

Member Function Documentation

◆ getMessage()

QString* DecoderHandlerEvent::getMessage ( void  ) const

Definition at line 40 of file decoderhandler.h.

◆ getMetadata()

MusicMetadata* DecoderHandlerEvent::getMetadata ( void  ) const

Definition at line 41 of file decoderhandler.h.

◆ getBufferStatus()

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

◆ clone()

MythEvent * DecoderHandlerEvent::clone ( void  ) const

Definition at line 45 of file decoderhandler.cpp.

◆ operator=() [1/2]

DecoderHandlerEvent& DecoderHandlerEvent::operator= ( const DecoderHandlerEvent other)

◆ operator=() [2/2]

DecoderHandlerEvent& DecoderHandlerEvent::operator= ( DecoderHandlerEvent &&  )

Member Data Documentation

◆ Ready

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

Definition at line 46 of file decoderhandler.h.

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

◆ Meta

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

◆ BufferStatus

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

◆ OperationStart

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

◆ OperationStop

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

◆ Error

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

◆ m_msg

QString* DecoderHandlerEvent::m_msg {nullptr}

Definition at line 62 of file decoderhandler.h.

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

◆ m_meta

MusicMetadata* DecoderHandlerEvent::m_meta {nullptr}

Definition at line 63 of file decoderhandler.h.

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

◆ m_available

int DecoderHandlerEvent::m_available {0}

Definition at line 64 of file decoderhandler.h.

Referenced by clone(), and getBufferStatus().

◆ m_maxSize

int DecoderHandlerEvent::m_maxSize {0}

Definition at line 65 of file decoderhandler.h.

Referenced by clone(), and getBufferStatus().

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