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

#include <decoder.h>

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

Public Member Functions

 DecoderEvent (Type type)
 
 DecoderEvent (QString *e)
 
 ~DecoderEvent ()
 
const QString * errorMessage () 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 Decoding
 
static Type Stopped
 
static Type Finished
 
static Type Error
 
- 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 Member Functions

 DecoderEvent (const DecoderEvent &o)
 
DecoderEventoperator= (const DecoderEvent &)
 

Private Attributes

QString * m_error_msg {nullptr}
 

Additional Inherited Members

- Protected Attributes inherited from MythEvent
QString m_message
 
QStringList m_extradata
 

Detailed Description

Definition at line 29 of file decoder.h.

Constructor & Destructor Documentation

◆ DecoderEvent() [1/3]

DecoderEvent::DecoderEvent ( Type  type)
inlineexplicit

Definition at line 32 of file decoder.h.

Referenced by clone().

◆ DecoderEvent() [2/3]

DecoderEvent::DecoderEvent ( QString *  e)
inlineexplicit

Definition at line 34 of file decoder.h.

◆ ~DecoderEvent()

DecoderEvent::~DecoderEvent ( )
inline

Definition at line 36 of file decoder.h.

◆ DecoderEvent() [3/3]

DecoderEvent::DecoderEvent ( const DecoderEvent o)
inlineprivate

Definition at line 53 of file decoder.h.

Member Function Documentation

◆ errorMessage()

const QString* DecoderEvent::errorMessage ( ) const
inline

Definition at line 42 of file decoder.h.

Referenced by MusicPlayer::customEvent().

◆ clone()

MythEvent* DecoderEvent::clone ( void  ) const
inlineoverridevirtual

Reimplemented from MythEvent.

Definition at line 44 of file decoder.h.

◆ operator=()

DecoderEvent& DecoderEvent::operator= ( const DecoderEvent )
private

Member Data Documentation

◆ Decoding

QEvent::Type DecoderEvent::Decoding
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 47 of file decoder.h.

Referenced by avfDecoder::run(), and CdDecoder::run().

◆ Stopped

QEvent::Type DecoderEvent::Stopped
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 48 of file decoder.h.

Referenced by MusicPlayer::customEvent(), avfDecoder::run(), and CdDecoder::run().

◆ Finished

QEvent::Type DecoderEvent::Finished
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 49 of file decoder.h.

Referenced by MusicPlayer::customEvent(), CdDecoder::deinit(), avfDecoder::run(), and CdDecoder::run().

◆ Error

QEvent::Type DecoderEvent::Error
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 50 of file decoder.h.

Referenced by MusicPlayer::customEvent(), CdDecoder::initialize(), and CdDecoder::run().

◆ m_error_msg

QString* DecoderEvent::m_error_msg {nullptr}
private

Definition at line 63 of file decoder.h.

Referenced by DecoderEvent(), errorMessage(), and ~DecoderEvent().


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