- protected:
- virtual bool TransmitFormatted(const cec_adapter_message &data, bool bWaitForAck = true);
- virtual void TransmitAbort(cec_logical_address address, cec_opcode opcode, ECecAbortReason reason = CEC_ABORT_REASON_UNRECOGNIZED_OPCODE);
- virtual void ReportCECVersion(cec_logical_address address = CECDEVICE_TV);
- virtual void ReportPowerState(cec_logical_address address = CECDEVICE_TV, bool bOn = true);
- virtual void ReportMenuState(cec_logical_address address = CECDEVICE_TV, bool bActive = true);
- virtual void ReportVendorID(cec_logical_address address = CECDEVICE_TV);
- virtual void ReportOSDName(cec_logical_address address = CECDEVICE_TV);
- virtual void ReportPhysicalAddress(void);
- virtual void BroadcastActiveSource(void);
- virtual bool HandleANCommand(cec_command &command);
- virtual bool HandleSLCommand(cec_command &command);
- virtual bool HandleCecCommand(cec_command &command);
+ private:
+ bool TryLogicalAddress(cec_logical_address address, unsigned int iIndex);
+ bool FindLogicalAddressRecordingDevice(unsigned int iIndex);
+ bool FindLogicalAddressTuner(unsigned int iIndex);
+ bool FindLogicalAddressPlaybackDevice(unsigned int iIndex);
+ bool FindLogicalAddressAudioSystem(unsigned int iIndex);