OutputEvent Class Reference

#include <output.h>

Inheritance diagram for OutputEvent:
MythEvent

List of all members.

Public Member Functions

 OutputEvent (Type t)
 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
virtual MythEventclone (void) const

Static Public Attributes

static Type Playing
static Type Buffering
static Type Info
static Type Paused
static Type Stopped
static Type Error

Private Member Functions

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

Private Attributes

QString * error_msg
long elasped_seconds
unsigned long written_bytes
int brate
int freq
int prec
int chan

Detailed Description

Definition at line 30 of file output.h.


Constructor & Destructor Documentation

OutputEvent::OutputEvent ( Type  t  )  [inline]

Definition at line 33 of file output.h.

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

Definition at line 38 of file output.h.

OutputEvent::OutputEvent ( const QString &  e  )  [inline]

Definition at line 43 of file output.h.

OutputEvent::~OutputEvent (  )  [inline]

Definition at line 51 of file output.h.

OutputEvent::OutputEvent ( const OutputEvent o  )  [inline, private]

Definition at line 75 of file output.h.


Member Function Documentation

const QString* OutputEvent::errorMessage (  )  const [inline]

Definition at line 56 of file output.h.

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

const long& OutputEvent::elapsedSeconds (  )  const [inline]

Definition at line 58 of file output.h.

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

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

Definition at line 59 of file output.h.

const int& OutputEvent::bitrate (  )  const [inline]

Definition at line 60 of file output.h.

Referenced by MusicCommon::customEvent().

const int& OutputEvent::frequency (  )  const [inline]

Definition at line 61 of file output.h.

Referenced by MusicCommon::customEvent().

const int& OutputEvent::precision (  )  const [inline]

Definition at line 62 of file output.h.

const int& OutputEvent::channels (  )  const [inline]

Definition at line 63 of file output.h.

Referenced by MusicCommon::customEvent().

virtual MythEvent* OutputEvent::clone ( void   )  const [inline, virtual]

Reimplemented from MythEvent.

Definition at line 65 of file output.h.

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

Member Data Documentation

QEvent::Type OutputEvent::Playing [static]
Initial value:
    (QEvent::Type) QEvent::registerEventType()

Definition at line 67 of file output.h.

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

QEvent::Type OutputEvent::Buffering [static]
Initial value:
    (QEvent::Type) QEvent::registerEventType()

Definition at line 68 of file output.h.

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

QEvent::Type OutputEvent::Info [static]
Initial value:
    (QEvent::Type) QEvent::registerEventType()

Definition at line 69 of file output.h.

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

QEvent::Type OutputEvent::Paused [static]
Initial value:
    (QEvent::Type) QEvent::registerEventType()

Definition at line 70 of file output.h.

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

QEvent::Type OutputEvent::Stopped [static]
Initial value:
    (QEvent::Type) QEvent::registerEventType()

Definition at line 71 of file output.h.

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

QEvent::Type OutputEvent::Error [static]
Initial value:
    (QEvent::Type) QEvent::registerEventType()

Definition at line 72 of file output.h.

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

QString* OutputEvent::error_msg [private]

Definition at line 90 of file output.h.

Referenced by OutputEvent().

Definition at line 92 of file output.h.

unsigned long OutputEvent::written_bytes [private]

Definition at line 93 of file output.h.

int OutputEvent::brate [private]

Definition at line 94 of file output.h.

int OutputEvent::freq [private]

Definition at line 94 of file output.h.

int OutputEvent::prec [private]

Definition at line 94 of file output.h.

int OutputEvent::chan [private]

Definition at line 94 of file output.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Fri May 25 06:42:17 2012 for MythTV by  doxygen 1.6.3