MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / GetNumInstances

Method GetNumInstances

cpp/src/Node.cpp:1661–1678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1659}
1660
1661uint8 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
1681void Node::SetSecuredClasses

Callers 1

GetValueLabelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected