cEITScanner Class Reference

#include <eitscan.h>

Collaboration diagram for cEITScanner:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cEITScanner (void)
 ~cEITScanner ()
bool Active (void)
bool UsesDevice (const cDevice *Device)
void AddTransponder (cChannel *Channel)
void ForceScan (void)
void Activity (void)
void Process (void)

Private Types

enum  { ActivityTimeout = 60, ScanTimeout = 20 }

Private Attributes

time_t lastScan
time_t lastActivity
cDevicecurrentDevice
int currentChannel
cScanListscanList
cTransponderListtransponderList


Detailed Description

Definition at line 21 of file eitscan.h.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
ActivityTimeout 
ScanTimeout 

Definition at line 23 of file eitscan.h.


Constructor & Destructor Documentation

cEITScanner::cEITScanner ( void   ) 

Definition at line 92 of file eitscan.c.

References currentChannel, currentDevice, lastActivity, lastScan, scanList, and transponderList.

cEITScanner::~cEITScanner (  ) 

Definition at line 101 of file eitscan.c.

References scanList, and transponderList.


Member Function Documentation

bool cEITScanner::Active ( void   )  [inline]

Definition at line 34 of file eitscan.h.

References currentChannel, and lastActivity.

Referenced by main().

bool cEITScanner::UsesDevice ( const cDevice Device  )  [inline]

Definition at line 35 of file eitscan.h.

References currentDevice.

Referenced by cDvbDevice::SetChannelDevice().

void cEITScanner::AddTransponder ( cChannel Channel  ) 

Definition at line 107 of file eitscan.c.

References cTransponderList::AddTransponder(), and transponderList.

Referenced by cNitFilter::Process().

Here is the call graph for this function:

void cEITScanner::ForceScan ( void   ) 

Definition at line 114 of file eitscan.c.

References lastActivity.

Referenced by cSVDRP::CmdSCAN(), and cMenuSetupEPG::ProcessKey().

void cEITScanner::Activity ( void   ) 

Definition at line 119 of file eitscan.c.

References Channels, currentChannel, lastActivity, and cChannels::SwitchTo().

Referenced by main(), and Process().

Here is the call graph for this function:

void cEITScanner::Process ( void   ) 

Definition at line 128 of file eitscan.c.

References Activity(), ActivityTimeout, cDevice::ActualDevice(), cScanList::AddTransponders(), cChannel::Ca(), CA_ENCRYPTED_MIN, Channels, cListBase::Count(), cDevice::CurrentChannel(), currentChannel, currentDevice, cListBase::Del(), cDevice::DeviceNumber(), cSetup::EPGScanTimeout, cList< T >::First(), cDevice::GetDevice(), lastActivity, lastScan, cRwLock::Lock(), cChannels::MaxNumber(), cDevice::MaySwitchTransponder(), cSkins::Message(), mtInfo, cList< T >::Next(), cDevice::NumDevices(), cDevice::PrimaryDevice(), cDevice::ProvidesTransponder(), cDevice::ProvidesTransponderExclusively(), cDevice::Receiving(), scanList, ScanTimeout, Setup, Skins, cDevice::StopReplay(), cDevice::SwitchChannel(), tr, transponderList, and cRwLock::Unlock().

Referenced by main().

Here is the call graph for this function:


Member Data Documentation

time_t cEITScanner::lastScan [private]

Definition at line 26 of file eitscan.h.

Referenced by cEITScanner(), and Process().

time_t cEITScanner::lastActivity [private]

Definition at line 26 of file eitscan.h.

Referenced by Active(), Activity(), cEITScanner(), ForceScan(), and Process().

cDevice* cEITScanner::currentDevice [private]

Definition at line 27 of file eitscan.h.

Referenced by cEITScanner(), Process(), and UsesDevice().

int cEITScanner::currentChannel [private]

Definition at line 28 of file eitscan.h.

Referenced by Active(), Activity(), cEITScanner(), and Process().

cScanList* cEITScanner::scanList [private]

Definition at line 29 of file eitscan.h.

Referenced by cEITScanner(), Process(), and ~cEITScanner().

cTransponderList* cEITScanner::transponderList [private]

Definition at line 30 of file eitscan.h.

Referenced by AddTransponder(), cEITScanner(), Process(), and ~cEITScanner().


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:11:44 2007 for VDR by  doxygen 1.5.3-20071008