20 virtual int Read(uint8_t *Buffer,
int MaxLength);
21 virtual void Write(
const uint8_t *Buffer,
int Length);
22 virtual bool Reset(
int Slot);
cDvbCiAdapter(cDevice *Device, int Fd)
virtual bool Reset(int Slot)
Resets the CAM in the given Slot.
virtual void Write(const uint8_t *Buffer, int Length)
Writes Length bytes of the given Buffer.
static cDvbCiAdapter * CreateCiAdapter(cDevice *Device, int Fd)
virtual bool Assign(cDevice *Device, bool Query=false)
Assigns this adapter to the given Device, if this is possible.
virtual int Read(uint8_t *Buffer, int MaxLength)
Reads one chunk of data into the given Buffer, up to MaxLength bytes.
virtual eModuleStatus ModuleStatus(int Slot)
Returns the status of the CAM in the given Slot.
The cDevice class is the base from which actual devices can be derived.