| 1382 | } |
| 1383 | |
| 1384 | int Controller::sub_count() const { |
| 1385 | int n = _pchan_sub_count; |
| 1386 | if (_sender) { |
| 1387 | n += !!GetSubControllerOfSelectiveChannel(_sender, 0); |
| 1388 | } |
| 1389 | return n; |
| 1390 | } |
| 1391 | |
| 1392 | const Controller* Controller::sub(int index) const { |
| 1393 | if (_pchan_sub_count > 0 && _done != NULL) { |