26 virtual int Read(uint8_t *Buffer,
int MaxLength);
27 virtual void Write(
const uint8_t *Buffer,
int Length);
28 virtual bool Reset(
int Slot);
34 virtual bool SetIdle(
bool Idle,
bool TestOnly);
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.
cDvbCiAdapter(cDevice *Device, int Fd, int Adapter=-1, int Frontend=-1)
virtual bool SetIdle(bool Idle, bool TestOnly)
static cDvbCiAdapter * CreateCiAdapter(cDevice *Device, int Fd, int Adapter=-1, int Frontend=-1)
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.
virtual bool IsIdle(void) const
The cDevice class is the base from which actual devices can be derived.