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

#include <output.h>

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

Public Member Functions

 OutputEvent (Type type)
 
 OutputEvent (long s, unsigned long w, int b, int f, int p, int c)
 
 OutputEvent (const QString &e)
 
 ~OutputEvent ()
 
const QString * errorMessage () const
 
const long & elapsedSeconds () const
 
const unsigned long & writtenBytes () const
 
const int & bitrate () const
 
const int & frequency () const
 
const int & precision () const
 
const int & channels () 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 Playing
 
static Type Buffering
 
static Type Info
 
static Type Paused
 
static Type Stopped
 
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

 OutputEvent (const OutputEvent &o)
 
OutputEventoperator= (const OutputEvent &)
 

Private Attributes

QString * m_error_msg {nullptr}
 
long m_elasped_seconds {0}
 
unsigned long m_written_bytes {0}
 
int m_brate {0}
 
int m_freq {0}
 
int m_prec {0}
 
int m_chan {0}
 

Additional Inherited Members

- Protected Attributes inherited from MythEvent
QString m_message
 
QStringList m_extradata
 

Detailed Description

Definition at line 29 of file output.h.

Constructor & Destructor Documentation

◆ OutputEvent() [1/4]

OutputEvent::OutputEvent ( Type  type)
inlineexplicit

Definition at line 32 of file output.h.

◆ OutputEvent() [2/4]

OutputEvent::OutputEvent ( long  s,
unsigned long  w,
int  b,
int  f,
int  p,
int  c 
)
inline

Definition at line 34 of file output.h.

◆ OutputEvent() [3/4]

OutputEvent::OutputEvent ( const QString &  e)
inlineexplicit

Definition at line 37 of file output.h.

◆ ~OutputEvent()

OutputEvent::~OutputEvent ( )
inline

Definition at line 44 of file output.h.

◆ OutputEvent() [4/4]

OutputEvent::OutputEvent ( const OutputEvent o)
inlineprivate

Definition at line 69 of file output.h.

Member Function Documentation

◆ errorMessage()

const QString* OutputEvent::errorMessage ( ) const
inline

Definition at line 49 of file output.h.

Referenced by MusicPlayer::customEvent().

◆ elapsedSeconds()

const long& OutputEvent::elapsedSeconds ( ) const
inline

◆ writtenBytes()

const unsigned long& OutputEvent::writtenBytes ( ) const
inline

Definition at line 52 of file output.h.

◆ bitrate()

const int& OutputEvent::bitrate ( ) const
inline

Definition at line 53 of file output.h.

Referenced by MusicCommon::customEvent().

◆ frequency()

const int& OutputEvent::frequency ( ) const
inline

Definition at line 54 of file output.h.

Referenced by MusicCommon::customEvent().

◆ precision()

const int& OutputEvent::precision ( ) const
inline

Definition at line 55 of file output.h.

◆ channels()

const int& OutputEvent::channels ( ) const
inline

Definition at line 56 of file output.h.

Referenced by MusicCommon::customEvent().

◆ clone()

MythEvent* OutputEvent::clone ( void  ) const
inlineoverridevirtual

Reimplemented from MythEvent.

Definition at line 58 of file output.h.

◆ operator=()

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

Member Data Documentation

◆ Playing

QEvent::Type OutputEvent::Playing
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 61 of file output.h.

Referenced by StreamView::customEvent(), MainVisual::customEvent(), MusicCommon::customEvent(), AudioOutputJACK::JackCallback(), and AudioOutputBase::OutputAudioLoop().

◆ Buffering

QEvent::Type OutputEvent::Buffering
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 62 of file output.h.

Referenced by StreamView::customEvent(), MainVisual::customEvent(), and MusicCommon::customEvent().

◆ Info

QEvent::Type OutputEvent::Info
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 63 of file output.h.

Referenced by LyricsView::customEvent(), MainVisual::customEvent(), MusicCommon::customEvent(), and MusicPlayer::customEvent().

◆ Paused

QEvent::Type OutputEvent::Paused
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 64 of file output.h.

Referenced by MainVisual::customEvent(), MusicCommon::customEvent(), AudioOutputJACK::JackCallback(), and AudioOutputBase::OutputAudioLoop().

◆ Stopped

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

Definition at line 65 of file output.h.

Referenced by AudioOutputJACK::CloseDevice(), StreamView::customEvent(), MainVisual::customEvent(), MusicCommon::customEvent(), AudioOutputBase::OutputAudioLoop(), and MusicPlayer::stop().

◆ Error

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

Definition at line 66 of file output.h.

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

◆ m_error_msg

QString* OutputEvent::m_error_msg {nullptr}
private

Definition at line 83 of file output.h.

Referenced by OutputEvent().

◆ m_elasped_seconds

long OutputEvent::m_elasped_seconds {0}
private

Definition at line 85 of file output.h.

◆ m_written_bytes

unsigned long OutputEvent::m_written_bytes {0}
private

Definition at line 86 of file output.h.

◆ m_brate

int OutputEvent::m_brate {0}
private

Definition at line 87 of file output.h.

◆ m_freq

int OutputEvent::m_freq {0}
private

Definition at line 88 of file output.h.

◆ m_prec

int OutputEvent::m_prec {0}
private

Definition at line 89 of file output.h.

◆ m_chan

int OutputEvent::m_chan {0}
private

Definition at line 90 of file output.h.


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