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
[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 () 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
 
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 26 of file decoderhandler.h.

Constructor & Destructor Documentation

◆ DecoderHandlerEvent() [1/6]

DecoderHandlerEvent::DecoderHandlerEvent ( Type  type)
inlineexplicit

Definition at line 29 of file decoderhandler.h.

Referenced by clone().

◆ DecoderHandlerEvent() [2/6]

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

Definition at line 32 of file decoderhandler.h.

◆ DecoderHandlerEvent() [3/6]

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

Definition at line 35 of file decoderhandler.h.

◆ DecoderHandlerEvent() [4/6]

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

Definition at line 34 of file decoderhandler.cpp.

◆ ~DecoderHandlerEvent()

DecoderHandlerEvent::~DecoderHandlerEvent ( )
override

Definition at line 40 of file decoderhandler.cpp.

◆ DecoderHandlerEvent() [5/6]

DecoderHandlerEvent::DecoderHandlerEvent ( const DecoderHandlerEvent other)
protecteddefault

◆ DecoderHandlerEvent() [6/6]

DecoderHandlerEvent::DecoderHandlerEvent ( DecoderHandlerEvent &&  )
delete

Member Function Documentation

◆ getMessage()

QString* DecoderHandlerEvent::getMessage ( void  ) const
inline

Definition at line 41 of file decoderhandler.h.

◆ getMetadata()

MusicMetadata* DecoderHandlerEvent::getMetadata ( void  ) const
inline

Definition at line 42 of file decoderhandler.h.

◆ getBufferStatus()

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

◆ clone()

MythEvent * DecoderHandlerEvent::clone ( void  ) const
override

Definition at line 46 of file decoderhandler.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

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

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

◆ m_meta

MusicMetadata* DecoderHandlerEvent::m_meta {nullptr}
private

Definition at line 64 of file decoderhandler.h.

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

◆ m_available

int DecoderHandlerEvent::m_available {0}
private

Definition at line 65 of file decoderhandler.h.

Referenced by clone(), and getBufferStatus().

◆ m_maxSize

int DecoderHandlerEvent::m_maxSize {0}
private

Definition at line 66 of file decoderhandler.h.

Referenced by clone(), and getBufferStatus().


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