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

Method GetNodeManufacturerName

cpp/src/Driver.cpp:4954–4966  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get the manufacturer name for the node with the specified ID Returns a copy of the string rather than a const ref for thread safety -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

4952// Returns a copy of the string rather than a const ref for thread safety
4953//-----------------------------------------------------------------------------
4954string Driver::GetNodeManufacturerName
4955(
4956 uint8 const _nodeId
4957)
4958{
4959 LockGuard LG(m_nodeMutex);
4960 if( Node* node = GetNode( _nodeId ) )
4961 {
4962 return node->GetManufacturerName();
4963 }
4964
4965 return "";
4966}
4967
4968//-----------------------------------------------------------------------------
4969// <Driver::GetNodeProductName>

Callers 1

mainFunction · 0.45

Calls 1

GetManufacturerNameMethod · 0.45

Tested by

no test coverage detected