| 1659 | } |
| 1660 | |
| 1661 | uint8 Node::GetNumInstances |
| 1662 | ( |
| 1663 | uint8 const _ccid |
| 1664 | ) |
| 1665 | { |
| 1666 | uint8 ccid = _ccid; |
| 1667 | int instances = 1; |
| 1668 | if ( _ccid == 0 ) |
| 1669 | { |
| 1670 | ccid = MultiInstance::StaticGetCommandClassId(); |
| 1671 | } |
| 1672 | if ( CommandClass *cc = GetCommandClass(ccid) ) |
| 1673 | { |
| 1674 | return cc->GetNumInstances(); |
| 1675 | } |
| 1676 | |
| 1677 | return instances; |
| 1678 | } |
| 1679 | |
| 1680 | |
| 1681 | void Node::SetSecuredClasses |