SASC-NG
DVBSoftCAM

cSystemLinkScVideoGuard2 Class Reference

Inheritance diagram for cSystemLinkScVideoGuard2:

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 70 of file sc-videoguard2.c.


Constructor & Destructor Documentation

cSystemLinkScVideoGuard2::cSystemLinkScVideoGuard2 ( void  )

Member Function Documentation

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

Implements cSystemLink.

Definition at line 85 of file sc-videoguard2.c.

References cSmartCard::CanHandle(), cSmartCards::LockCard(), cSmartCards::ReleaseCard(), SC_ID, and smartcards.

{
  bool res=false;
  cSmartCard *card=smartcards.LockCard(SC_ID);
  if(card) {
    res=card->CanHandle(SysId);
    smartcards.ReleaseCard(card);
    }
  return res;
}
virtual cSystem* cSystemLinkScVideoGuard2::Create ( void  ) [inline, virtual]

Implements cSystemLink.

Definition at line 74 of file sc-videoguard2.c.

{ return new cSystemScVideoGuard2; }

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