| 841 | } |
| 842 | |
| 843 | size_t CCECCommandHandler::GetMyDevices(std::vector<CCECBusDevice *> &devices) const |
| 844 | { |
| 845 | size_t iReturn(0); |
| 846 | |
| 847 | cec_logical_addresses addresses = m_processor->GetLogicalAddresses(); |
| 848 | for (uint8_t iPtr = CECDEVICE_TV; iPtr < CECDEVICE_BROADCAST; iPtr++) |
| 849 | { |
| 850 | if (addresses[iPtr]) |
| 851 | { |
| 852 | devices.push_back(GetDevice((cec_logical_address) iPtr)); |
| 853 | ++iReturn; |
| 854 | } |
| 855 | } |
| 856 | |
| 857 | return iReturn; |
| 858 | } |
| 859 | |
| 860 | CCECBusDevice *CCECCommandHandler::GetDevice(cec_logical_address iLogicalAddress) const |
| 861 | { |
nothing calls this directly
no test coverage detected