SASC
DVBSoftCAM

cSystemLinkNagra2 Class Reference

Inheritance diagram for cSystemLinkNagra2:

List of all members.

Public Member Functions

 cSystemLinkNagra2 (void)
virtual bool CanHandle (unsigned short SysId)
virtual cSystem * Create (void)
 cSystemLinkNagra2 (void)
virtual bool CanHandle (unsigned short SysId)
virtual cSystem * Create (void)

Detailed Description

Definition at line 1585 of file nagra2.c.


Constructor & Destructor Documentation

cSystemLinkNagra2::cSystemLinkNagra2 ( void  )

Definition at line 1594 of file nagra2.c.

References cOpts::Add(), auxAddr, auxEnabled, auxPassword, auxPort, Feature, cFeature::NeedsKeyFile(), cSystemLink::opts, SYSTEM_NAME, and trNOOP.

:cSystemLink(SYSTEM_NAME,SYSTEM_PRI)
{
  opts=new cOpts(SYSTEM_NAME,5);
  opts->Add(new cOptBool("DropEMMS",trNOOP("Nagra2: drop EMM-S packets"),&dropEMMs));
#ifdef HAS_AUXSRV
  static const char allowed_chars[] = "0123456789abcdefghijklmnopqrstuvwxyz-.";
  opts->Add(new cOptBool("AuxServerEnable",trNOOP("Nagra2: Enable AUXserver"),&auxEnabled));
  opts->Add(new cOptStr("AuxServerAddr",trNOOP("Nagra2: AUXserver hostname"),auxAddr,sizeof(auxAddr),allowed_chars));
  opts->Add(new cOptInt("AuxServerPort",trNOOP("Nagra2: AUXserver port"),&auxPort,0,65535));
  opts->Add(new cOptStr("AuxServerPass",trNOOP("Nagra2: AUXserver password"),auxPassword,sizeof(auxPassword),allowed_chars));
#endif
  Feature.NeedsKeyFile();
}
cSystemLinkNagra2::cSystemLinkNagra2 ( void  )

Member Function Documentation

bool cSystemLinkNagra2::CanHandle ( unsigned short  SysId) [virtual]

Implements cSystemLink.

Definition at line 1609 of file nagra2.c.

References SYSTEM_MASK, SYSTEM_NAGRA, and SYSTEM_NAGRA_BEV.

{
  return ((SysId&SYSTEM_MASK)==SYSTEM_NAGRA && (SysId&0xFF)>0) ||
          SysId==SYSTEM_NAGRA_BEV;
}
virtual bool cSystemLinkNagra2::CanHandle ( unsigned short  SysId) [virtual]

Implements cSystemLink.

virtual cSystem* cSystemLinkNagra2::Create ( void  ) [inline, virtual]

Implements cSystemLink.

Definition at line 1589 of file nagra2.c.

{ return new cSystemNagra2; }
virtual cSystem* cSystemLinkNagra2::Create ( void  ) [inline, virtual]

Implements cSystemLink.

Definition at line 1589 of file nagra2.c.

{ return new cSystemNagra2; }

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