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

Method GetSpecificDeviceClass

cpp/src/Node.cpp:3748–3760  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get a specific device class object -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

3746// Get a specific device class object
3747//-----------------------------------------------------------------------------
3748Node::DeviceClass* Node::GenericDeviceClass::GetSpecificDeviceClass
3749(
3750 uint8 const& _specific
3751)
3752{
3753 map<uint8,DeviceClass*>::iterator it = m_specificDeviceClasses.find( _specific );
3754 if( it != m_specificDeviceClasses.end() )
3755 {
3756 return it->second;
3757 }
3758
3759 return NULL;
3760}
3761
3762//-----------------------------------------------------------------------------
3763// <Node::GenerateNonceKey>

Callers 2

SetDeviceClassesMethod · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected