Remove a logical address from this list (if it's set) The address to remove.
| 1318 | /// </summary> |
| 1319 | /// <param name="address">The address to remove.</param> |
| 1320 | void Unset(CecLogicalAddress address) |
| 1321 | { |
| 1322 | Addresses[(unsigned int)address] = CecLogicalAddress::Unknown; |
| 1323 | if (Primary == address) { |
| 1324 | Primary = CecLogicalAddress::Unknown; |
| 1325 | for (unsigned int iPtr = 0; iPtr < 16; iPtr++) { |
| 1326 | if (IsSet((CecLogicalAddress)iPtr)) |
| 1327 | { |
| 1328 | Primary = (CecLogicalAddress)iPtr; |
| 1329 | break; |
| 1330 | } |
| 1331 | } |
| 1332 | } |
| 1333 | } |
| 1334 | |
| 1335 | /// <summary> |
| 1336 | /// The primary (first) address in this list |