SASC
DVBSoftCAM

cScSetup Class Reference

#include <scsetup.h>

List of all members.

Public Member Functions

 cScSetup (void)
void Check (void)
void Store (bool AsIs)
bool CapCheck (int n)
 cScSetup (void)
void Check (void)
void Store (bool AsIs)
bool CapCheck (int n)

Public Attributes

int AutoUpdate
int ScCaps [MAXSCCAPS]
int ConcurrentFF
int LocalPriority
int ForceTransfer
int PrestartAU
int SuperKeys
int EcmCache
int DeCsaTsBuffSize

Detailed Description

Definition at line 27 of file scsetup.h.


Constructor & Destructor Documentation

cScSetup::cScSetup ( void  )
cScSetup::cScSetup ( void  )

Member Function Documentation

bool cScSetup::CapCheck ( int  n)

Definition at line 1014 of file sc.c.

References j, MAXSCCAPS, and ScCaps.

Referenced by cCam::ModuleStatus().

{
  for(int j=0; j<MAXSCCAPS; j++)
    if(ScCaps[j] && ScCaps[j]==n+1) return true;
  return false;
}
bool cScSetup::CapCheck ( int  n)
void cScSetup::Check ( void  )
void cScSetup::Check ( void  )

Definition at line 982 of file sc.c.

References AutoUpdate, ConcurrentFF, DeCsaTsBuffSize, EcmCache, ForceTransfer, L_CORE_LOAD, L_GEN_WARN, LBEND, LBPUT, LBSTART, LocalPriority, MAXSCCAPS, PrestartAU, PRINTF, and ScCaps.

Referenced by cScPlugin::Start().

{
  if(AutoUpdate==0)
    PRINTF(L_GEN_WARN,"Keys updates (AU) are disabled.");
  for(int i=0; i<MAXSCCAPS; i++)
    if(ScCaps[i]>=16) {
      PRINTF(L_GEN_WARN,"ScCaps contains unusual value. Check your config! (You can ignore this message if you have more than 16 dvb cards in your system ;)");
      break;
      }

  PRINTF(L_CORE_LOAD,"** Plugin config:");
  PRINTF(L_CORE_LOAD,"** Key updates (AU) are %s (%sprestart)",AutoUpdate?(AutoUpdate==1?"enabled (active CAIDs)":"enabled (all CAIDs)"):"DISABLED",PrestartAU?"":"no ");
  PRINTF(L_CORE_LOAD,"** Local systems %stake priority over cached remote",LocalPriority?"":"DON'T ");
  PRINTF(L_CORE_LOAD,"** Concurrent FF recordings are %sallowed",ConcurrentFF?"":"NOT ");
  PRINTF(L_CORE_LOAD,"** %sorce transfermode with digital audio",ForceTransfer?"F":"DON'T f");
  PRINTF(L_CORE_LOAD,"** ECM cache is set to %s",EcmCache ? (EcmCache==1?"READ-ONLY":"DISABLED"):"enabled");
  PRINTF(L_CORE_LOAD,"** TsBufferSize is %d MB",DeCsaTsBuffSize);
  LBSTART(L_CORE_LOAD);
  LBPUT("** ScCaps are"); for(int i=0; i<MAXSCCAPS ; i++) LBPUT(" %d",ScCaps[i]);
  LBEND();
}
void cScSetup::Store ( bool  AsIs)

Member Data Documentation

Definition at line 29 of file scsetup.h.

Referenced by cTpsKeys::Check(), Check(), cScPlugin::cScPlugin(), cScSetup(), and main().

Definition at line 32 of file scsetup.h.

Referenced by Check(), cScPlugin::cScPlugin(), and cScSetup().

Definition at line 30 of file scsetup.h.

Referenced by CapCheck(), Check(), cScPlugin::cScPlugin(), and cScSetup().

Definition at line 35 of file scsetup.h.

Referenced by cScPlugin::cScPlugin(), and cScSetup().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines