MonitorThread Class Reference

#include <mythmediamonitor.h>

Inheritance diagram for MonitorThread:
MThread MonitorThreadDarwin

List of all members.

Public Member Functions

 MonitorThread (MediaMonitor *pMon, unsigned long interval)
 ~MonitorThread ()
void setMonitor (MediaMonitor *pMon)
virtual void run (void)
 Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.

Protected Attributes

QPointer< MediaMonitorm_Monitor
unsigned long m_Interval

Detailed Description

Definition at line 23 of file mythmediamonitor.h.


Constructor & Destructor Documentation

MonitorThread::MonitorThread ( MediaMonitor pMon,
unsigned long  interval 
)

Definition at line 38 of file mythmediamonitor.cpp.

MonitorThread::~MonitorThread (  )  [inline]

Definition at line 27 of file mythmediamonitor.h.


Member Function Documentation

void MonitorThread::setMonitor ( MediaMonitor pMon  )  [inline]

Definition at line 28 of file mythmediamonitor.h.

void MonitorThread::run ( void   )  [virtual]

Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.

Note:
If you override this method you must call RunProlog before you do any work and RunEpilog before you exit the run method.

Reimplemented from MThread.

Reimplemented in MonitorThreadDarwin.

Definition at line 47 of file mythmediamonitor.cpp.


Member Data Documentation

QPointer<MediaMonitor> MonitorThread::m_Monitor [protected]
unsigned long MonitorThread::m_Interval [protected]

Definition at line 33 of file mythmediamonitor.h.

Referenced by MonitorThread(), run(), and MonitorThreadDarwin::run().


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:10 2012 for MythTV by  doxygen 1.6.3