HDHRSignalMonitor Class Reference

#include <hdhrsignalmonitor.h>

Inheritance diagram for HDHRSignalMonitor:
DTVSignalMonitor SignalMonitor MPEGStreamListener ATSCMainStreamListener ATSCAuxStreamListener DVBMainStreamListener MThread

List of all members.

Public Member Functions

 HDHRSignalMonitor (int db_cardnum, HDHRChannel *_channel, uint64_t _flags=0)
 Initializes signal lock and signal values.
virtual ~HDHRSignalMonitor ()
 Stops signal monitoring and table monitoring threads.
void Stop (void)
 Stop signal monitoring and table monitoring threads.

Protected Member Functions

 HDHRSignalMonitor (void)
 HDHRSignalMonitor (const HDHRSignalMonitor &)
virtual void UpdateValues (void)
 Fills in frontend stats and emits status Qt signals.
HDHRChannelGetHDHRChannel (void)

Protected Attributes

bool streamHandlerStarted
HDHRStreamHandlerstreamHandler

Detailed Description

Definition at line 13 of file hdhrsignalmonitor.h.


Constructor & Destructor Documentation

HDHRSignalMonitor::HDHRSignalMonitor ( int  db_cardnum,
HDHRChannel _channel,
uint64_t  _flags = 0 
)

Initializes signal lock and signal values.

Start() must be called to actually begin continuous signal monitoring. The timeout is set to 3 seconds, and the signal threshold is initialized to 0%.

Parameters:
db_cardnum Recorder number to monitor, if this is less than 0, SIGNAL events will not be sent to the frontend even if SetNotifyFrontend(true) is called.
_channel HDHRChannel for card
_flags Flags to start with

Definition at line 40 of file hdhrsignalmonitor.cpp.

HDHRSignalMonitor::~HDHRSignalMonitor (  )  [virtual]

Stops signal monitoring and table monitoring threads.

Definition at line 57 of file hdhrsignalmonitor.cpp.

HDHRSignalMonitor::HDHRSignalMonitor ( void   )  [protected]
HDHRSignalMonitor::HDHRSignalMonitor ( const HDHRSignalMonitor  )  [protected]

Member Function Documentation

void HDHRSignalMonitor::Stop ( void   )  [virtual]

Stop signal monitoring and table monitoring threads.

Reimplemented from SignalMonitor.

Definition at line 67 of file hdhrsignalmonitor.cpp.

Referenced by ~HDHRSignalMonitor().

void HDHRSignalMonitor::UpdateValues ( void   )  [protected, virtual]

Fills in frontend stats and emits status Qt signals.

This is automatically called by MonitorLoop(), after Start() has been used to start the signal monitoring thread.

Reimplemented from SignalMonitor.

Definition at line 89 of file hdhrsignalmonitor.cpp.

HDHRChannel * HDHRSignalMonitor::GetHDHRChannel ( void   )  [protected]

Definition at line 78 of file hdhrsignalmonitor.cpp.


Member Data Documentation

Definition at line 30 of file hdhrsignalmonitor.h.

Referenced by Stop(), and UpdateValues().

Definition at line 31 of file hdhrsignalmonitor.h.

Referenced by HDHRSignalMonitor(), Stop(), UpdateValues(), and ~HDHRSignalMonitor().


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