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 (std::chrono::seconds s, unsigned long w, int b, int f, int p, int c)
 
 OutputEvent (const QString &e)
 
 ~OutputEvent () override
 
const QString * errorMessage () const
 
const std::chrono::seconds & 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
 
OutputEventoperator= (const OutputEvent &other)=delete
 
 OutputEvent (OutputEvent &&)=delete
 
OutputEventoperator= (OutputEvent &&)=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 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)
 

Private Attributes

QString * m_errorMsg {nullptr}
 
std::chrono::seconds m_elaspedSeconds {0s}
 
unsigned long m_writtenBytes {0}
 
int m_brate {0}
 
int m_freq {0}
 
int m_prec {0}
 
int m_chan {0}
 

Additional Inherited Members

- Protected Member Functions inherited from MythEvent
 MythEvent (const MythEvent &other)=default
 
MythEventoperator= (const MythEvent &other)=default
 
- Protected Attributes inherited from MythEvent
QString m_message
 
QStringList m_extradata
 

Detailed Description

Definition at line 31 of file output.h.

Constructor & Destructor Documentation

◆ OutputEvent() [1/5]

OutputEvent::OutputEvent ( Type  type)
inlineexplicit

Definition at line 34 of file output.h.

◆ OutputEvent() [2/5]

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

Definition at line 36 of file output.h.

◆ OutputEvent() [3/5]

OutputEvent::OutputEvent ( const QString &  e)
inlineexplicit

Definition at line 39 of file output.h.

◆ ~OutputEvent()

OutputEvent::~OutputEvent ( )
inlineoverride

Definition at line 46 of file output.h.

◆ OutputEvent() [4/5]

OutputEvent::OutputEvent ( const OutputEvent o)
inlineprivate

Definition at line 71 of file output.h.

◆ OutputEvent() [5/5]

OutputEvent::OutputEvent ( OutputEvent &&  )
delete

Member Function Documentation

◆ errorMessage()

const QString* OutputEvent::errorMessage ( ) const
inline

Definition at line 51 of file output.h.

◆ elapsedSeconds()

const std::chrono::seconds& OutputEvent::elapsedSeconds ( ) const
inline

Definition at line 53 of file output.h.

◆ writtenBytes()

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

Definition at line 54 of file output.h.

◆ bitrate()

const int& OutputEvent::bitrate ( ) const
inline

Definition at line 55 of file output.h.

◆ frequency()

const int& OutputEvent::frequency ( ) const
inline

Definition at line 56 of file output.h.

◆ precision()

const int& OutputEvent::precision ( ) const
inline

Definition at line 57 of file output.h.

◆ channels()

const int& OutputEvent::channels ( ) const
inline

Definition at line 58 of file output.h.

◆ clone()

MythEvent* OutputEvent::clone ( void  ) const
inlineoverride

Definition at line 60 of file output.h.

◆ operator=() [1/2]

OutputEvent& OutputEvent::operator= ( const OutputEvent other)
delete

◆ operator=() [2/2]

OutputEvent& OutputEvent::operator= ( OutputEvent &&  )
delete

Member Data Documentation

◆ Playing

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

Definition at line 63 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 64 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 65 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 66 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 67 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 68 of file output.h.

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

◆ m_errorMsg

QString* OutputEvent::m_errorMsg {nullptr}
private

Definition at line 90 of file output.h.

Referenced by OutputEvent().

◆ m_elaspedSeconds

std::chrono::seconds OutputEvent::m_elaspedSeconds {0s}
private

Definition at line 92 of file output.h.

◆ m_writtenBytes

unsigned long OutputEvent::m_writtenBytes {0}
private

Definition at line 93 of file output.h.

◆ m_brate

int OutputEvent::m_brate {0}
private

Definition at line 94 of file output.h.

◆ m_freq

int OutputEvent::m_freq {0}
private

Definition at line 95 of file output.h.

◆ m_prec

int OutputEvent::m_prec {0}
private

Definition at line 96 of file output.h.

◆ m_chan

int OutputEvent::m_chan {0}
private

Definition at line 97 of file output.h.


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