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