MythTV  0.28pre
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 t)
 
 DecoderHandlerEvent (Type t, QString *e)
 
 DecoderHandlerEvent (Type t, int available, int maxSize)
 
 DecoderHandlerEvent (Type t, const MusicMetadata &m)
 
 ~DecoderHandlerEvent ()
 
QString * getMessage (void) const
 
MusicMetadatagetMetadata (void) const
 
void getBufferStatus (int *available, int *maxSize) const
 
virtual MythEventclone (void) const
 
- Public Member Functions inherited from MythEvent
 MythEvent (int t)
 
 MythEvent (int t, const QString lmessage)
 
 MythEvent (int t, const QString lmessage, const QStringList &lextradata)
 
 MythEvent (const QString lmessage)
 
 MythEvent (const QString lmessage, const QStringList &lextradata)
 
 MythEvent (const QString lmessage, const QString lextradata)
 
virtual ~MythEvent ()
 
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 kEnableDrawingEventType
 
static Type kDisableDrawingEventType
 
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
 
MusicMetadatam_meta
 
int m_available
 
int m_maxSize
 

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::DecoderHandlerEvent ( Type  t)
inline

Definition at line 29 of file decoderhandler.h.

Referenced by clone().

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

Definition at line 32 of file decoderhandler.h.

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

Definition at line 35 of file decoderhandler.h.

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

Definition at line 34 of file decoderhandler.cpp.

DecoderHandlerEvent::~DecoderHandlerEvent ( void  )

Definition at line 40 of file decoderhandler.cpp.

Member Function Documentation

QString* DecoderHandlerEvent::getMessage ( void  ) const
inline

Definition at line 42 of file decoderhandler.h.

Referenced by StreamView::customEvent(), and MusicPlayer::customEvent().

MusicMetadata* DecoderHandlerEvent::getMetadata ( void  ) const
inline

Definition at line 43 of file decoderhandler.h.

Referenced by MusicPlayer::customEvent().

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

Definition at line 65 of file decoderhandler.cpp.

Referenced by StreamView::customEvent(), and MusicPlayer::customEvent().

MythEvent * DecoderHandlerEvent::clone ( void  ) const
virtual

Reimplemented from MythEvent.

Definition at line 49 of file decoderhandler.cpp.

Member Data Documentation

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

Definition at line 48 of file decoderhandler.h.

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

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

Definition at line 51 of file decoderhandler.h.

Referenced by StreamView::customEvent().

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

Definition at line 52 of file decoderhandler.h.

Referenced by StreamView::customEvent().

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

Definition at line 53 of file decoderhandler.h.

Referenced by MusicPlayer::customEvent().

QString* DecoderHandlerEvent::m_msg
private

Definition at line 56 of file decoderhandler.h.

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

MusicMetadata* DecoderHandlerEvent::m_meta
private

Definition at line 57 of file decoderhandler.h.

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

int DecoderHandlerEvent::m_available
private

Definition at line 58 of file decoderhandler.h.

Referenced by clone(), and getBufferStatus().

int DecoderHandlerEvent::m_maxSize
private

Definition at line 59 of file decoderhandler.h.

Referenced by clone(), and getBufferStatus().


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