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
 
void log (const QString &prefix)
 
MythEventclone () const override
 
 MythEvent (MythEvent &&)=delete
 
MythEventoperator= (MythEvent &&)=delete
 

Static Public Attributes

static const Type kReady = (QEvent::Type) QEvent::registerEventType()
 
static const Type kMeta = (QEvent::Type) QEvent::registerEventType()
 
static const Type kBufferStatus = (QEvent::Type) QEvent::registerEventType()
 
static const Type kOperationStart = (QEvent::Type) QEvent::registerEventType()
 
static const Type kOperationStop = (QEvent::Type) QEvent::registerEventType()
 
static const Type kError = (QEvent::Type) QEvent::registerEventType()
 
- Static Public Attributes inherited from MythEvent
static const Type kMythEventMessage
 
static const Type kMythUserMessage
 
static const Type kUpdateTvProgressEventType
 
static const Type kExitToMainMenuEventType
 
static const Type kMythPostShowEventType
 
static const Type kPushDisableDrawingEventType
 
static const Type kPopDisableDrawingEventType
 
static const Type kLockInputDevicesEventType
 
static const Type kUnlockInputDevicesEventType
 
static const Type kUpdateBrowseInfoEventType
 
static const Type kDisableUDPListenerEventType
 
static const 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)
inlineexplicit

Definition at line 28 of file decoderhandler.h.

Referenced by clone().

◆ DecoderHandlerEvent() [2/6]

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

Definition at line 31 of file decoderhandler.h.

◆ DecoderHandlerEvent() [3/6]

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

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 ( )
override

Definition at line 39 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 40 of file decoderhandler.h.

◆ getMetadata()

MusicMetadata* DecoderHandlerEvent::getMetadata ( void  ) const
inline

Definition at line 41 of file decoderhandler.h.

◆ getBufferStatus()

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

◆ clone()

MythEvent * DecoderHandlerEvent::clone ( void  ) const
override

Definition at line 45 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

◆ kReady

const QEvent::Type DecoderHandlerEvent::kReady = (QEvent::Type) QEvent::registerEventType()
static

Definition at line 46 of file decoderhandler.h.

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

◆ kMeta

const QEvent::Type DecoderHandlerEvent::kMeta = (QEvent::Type) QEvent::registerEventType()
static

◆ kBufferStatus

const QEvent::Type DecoderHandlerEvent::kBufferStatus = (QEvent::Type) QEvent::registerEventType()
static

◆ kOperationStart

const QEvent::Type DecoderHandlerEvent::kOperationStart = (QEvent::Type) QEvent::registerEventType()
static

◆ kOperationStop

const QEvent::Type DecoderHandlerEvent::kOperationStop = (QEvent::Type) QEvent::registerEventType()
static

◆ kError

const QEvent::Type DecoderHandlerEvent::kError = (QEvent::Type) QEvent::registerEventType()
static

◆ m_msg

QString* DecoderHandlerEvent::m_msg {nullptr}
private

Definition at line 62 of file decoderhandler.h.

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

◆ m_meta

MusicMetadata* DecoderHandlerEvent::m_meta {nullptr}
private

Definition at line 63 of file decoderhandler.h.

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

◆ m_available

int DecoderHandlerEvent::m_available {0}
private

Definition at line 64 of file decoderhandler.h.

Referenced by clone(), and getBufferStatus().

◆ m_maxSize

int DecoderHandlerEvent::m_maxSize {0}
private

Definition at line 65 of file decoderhandler.h.

Referenced by clone(), and getBufferStatus().


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