OutputEvent Class Reference

#include <output.h>

Inheritance diagram for OutputEvent:

MythEvent

List of all members.


Detailed Description

Definition at line 25 of file output.h.


Public Types

enum  Type {
  Playing = (User + 200), Buffering, Info, Paused,
  Stopped, Error
}

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 OutputEventclone ()

Private Attributes

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

Member Enumeration Documentation

Enumerator:
Playing 
Buffering 
Info 
Paused 
Stopped 
Error 

Reimplemented from MythEvent.

Definition at line 28 of file output.h.


Constructor & Destructor Documentation

OutputEvent::OutputEvent ( Type  t  )  [inline]

Definition at line 31 of file output.h.

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

Definition at line 36 of file output.h.

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

Definition at line 41 of file output.h.

OutputEvent::~OutputEvent (  )  [inline]

Definition at line 49 of file output.h.


Member Function Documentation

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

Definition at line 55 of file output.h.

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

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

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

Definition at line 58 of file output.h.

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

Definition at line 59 of file output.h.

Referenced by PlaybackBoxMusic::customEvent(), and MiniPlayer::customEvent().

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

Definition at line 60 of file output.h.

Referenced by PlaybackBoxMusic::customEvent(), and MiniPlayer::customEvent().

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

Definition at line 61 of file output.h.

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

Definition at line 62 of file output.h.

Referenced by PlaybackBoxMusic::customEvent(), and MiniPlayer::customEvent().

virtual OutputEvent* OutputEvent::clone (  )  [inline, virtual]

Reimplemented from MythEvent.

Definition at line 64 of file output.h.


Member Data Documentation

QString* OutputEvent::error_msg [private]

Definition at line 64 of file output.h.

Definition at line 69 of file output.h.

unsigned long OutputEvent::written_bytes [private]

Definition at line 70 of file output.h.

int OutputEvent::brate [private]

Definition at line 71 of file output.h.

int OutputEvent::freq [private]

Definition at line 71 of file output.h.

int OutputEvent::prec [private]

Definition at line 71 of file output.h.

int OutputEvent::chan [private]

Definition at line 71 of file output.h.


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

Generated on Sat Dec 18 05:16:09 2010 for MythTV by  doxygen 1.5.5