MythTimer Class Reference

#include <mythtimer.h>

List of all members.

Public Member Functions

 MythTimer ()
void start ()
int restart ()
int elapsed ()
void stop ()
bool isRunning () const
void addMSecs (int ms)

Private Attributes

QTime m_timer
bool m_running

Detailed Description

Definition at line 7 of file mythtimer.h.


Constructor & Destructor Documentation

MythTimer::MythTimer (  )  [inline]

Definition at line 10 of file mythtimer.h.


Member Function Documentation

void MythTimer::start (  )  [inline]

Definition at line 12 of file mythtimer.h.

Referenced by DTVRecorder::BufferedWrite(), MThread::Cleanup(), DVBStreamHandler::CycleFiltersByPriority(), MythContextPrivate::DefaultUPnP(), ThreadedFileWriter::DiskLoop(), TV::DoSeek(), FreeSpaceUpdater::FreeSpaceUpdater(), MythPlayer::IsPlaying(), MythUITextEdit::MythUITextEdit(), AudioOutputOSS::OpenDevice(), MythPlayer::OpenFile(), FileRingBuffer::OpenFile(), PlayerContext::PlayerContext(), DeviceReadBuffer::Poll(), DarwinFirewireDevice::ProcessNoDataMessage(), MPEGStreamData::ProcessPAT(), RemoteFile::Read(), ZMClient::readData(), RingBuffer::ReadDirect(), BufferedSocketDevice::ReadLine(), MythSocket::readStringList(), MythCommFlagPlayer::RebuildSeekTable(), DeviceReadBuffer::ReportStats(), RingBuffer::run(), MythCCExtractorPlayer::run(), MPoolThread::run(), MpegRecorder::run(), FreeSpaceUpdater::run(), EITScanner::run(), FirewireSignalMonitor::RunTableMonitor(), RecorderBase::SavePositionMap(), DecoderBase::SavePositionMapDelta(), DeviceReadBuffer::Setup(), LinuxFirewireDevice::SignalReset(), PlayerContext::StartPlaying(), TV::StartRecorder(), MThreadPool::startReserved(), HTTPLiveStream::StartStream(), HTTPLiveStream::StopStream(), TV::TV(), TV::UpdateOSDSignal(), IconData::UpdateSourceIcons(), FirewireSignalMonitor::UpdateValues(), MythContextPrivate::UPnPautoconf(), RingBuffer::WaitForAvail(), TVRec::WaitForEventThreadSleep(), RingBuffer::WaitForPause(), RecorderBase::WaitForPause(), RingBuffer::WaitForReadsAllowed(), DeviceReadBuffer::WaitForUsed(), and MythSocket::writeStringList().

int MythTimer::restart (  )  [inline]
int MythTimer::elapsed (  )  [inline]

Definition at line 17 of file mythtimer.h.

Referenced by TV::ActiveHandleAction(), MThread::Cleanup(), DVBStreamHandler::CycleFiltersByPriority(), MythContextPrivate::DefaultUPnP(), ThreadedFileWriter::DiskLoop(), TV::DoSeek(), GLSingleView::EffectBend(), GLSingleView::EffectBlend(), GLSingleView::EffectCube(), GLSingleView::EffectFade(), GLSingleView::EffectFlutter(), GLSingleView::EffectInOut(), GLSingleView::EffectKenBurns(), GLSingleView::EffectRotate(), GLSingleView::EffectSlide(), GLSingleView::EffectZoomBlend(), MythDVDPlayer::GetSecondsPlayed(), FirewireSignalMonitor::HandlePAT(), MythPlayer::IsPlaying(), AudioOutputOSS::OpenDevice(), MythPlayer::OpenFile(), FileRingBuffer::OpenFile(), DeviceReadBuffer::Poll(), DarwinFirewireDevice::ProcessNoDataMessage(), MPEGStreamData::ProcessPAT(), progress_string(), MythUITextEdit::Pulse(), RemoteFile::Read(), ZMClient::readData(), RingBuffer::ReadDirect(), BufferedSocketDevice::ReadLine(), MythSocket::readStringList(), MythCommFlagPlayer::RebuildSeekTable(), DeviceReadBuffer::ReportStats(), RingBuffer::run(), MythCCExtractorPlayer::run(), MpegRecorder::run(), FreeSpaceUpdater::run(), LinuxFirewireDevice::run(), EITScanner::run(), RecorderBase::SavePositionMap(), DecoderBase::SavePositionMapDelta(), PlayerContext::StartPlaying(), TV::StartRecorder(), MThreadPool::startReserved(), HTTPLiveStream::StartStream(), MythDVDPlayer::StillFrameCheck(), HTTPLiveStream::StopStream(), StreamHandler::UpdateFiltersFromStreamData(), TV::UpdateOSDSignal(), IconData::UpdateSourceIcons(), FirewireSignalMonitor::UpdateValues(), MythContextPrivate::UPnPautoconf(), RingBuffer::WaitForAvail(), TVRec::WaitForEventThreadSleep(), RingBuffer::WaitForPause(), RecorderBase::WaitForPause(), RingBuffer::WaitForReadsAllowed(), DeviceReadBuffer::WaitForUsed(), and MythSocket::writeStringList().

void MythTimer::stop ( void   )  [inline]

Definition at line 21 of file mythtimer.h.

bool MythTimer::isRunning ( void   )  const [inline]

Definition at line 22 of file mythtimer.h.

void MythTimer::addMSecs ( int  ms  )  [inline]

Definition at line 24 of file mythtimer.h.

Referenced by PlayerContext::PlayerContext().


Member Data Documentation

QTime MythTimer::m_timer [private]

Definition at line 27 of file mythtimer.h.

Definition at line 28 of file mythtimer.h.


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