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

Method SetNodeLocation

cpp/src/Driver.cpp:5251–5262  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Set the location string value with the specified ID -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

5249// Set the location string value with the specified ID
5250//-----------------------------------------------------------------------------
5251void Driver::SetNodeLocation
5252(
5253 uint8 const _nodeId,
5254 string const& _location
5255)
5256{
5257 LockGuard LG(m_nodeMutex);
5258 if( Node* node = GetNode( _nodeId ) )
5259 {
5260 node->SetLocation( _location );
5261 }
5262}
5263
5264//-----------------------------------------------------------------------------
5265// <Driver::SetNodeLevel>

Callers

nothing calls this directly

Calls 1

SetLocationMethod · 0.45

Tested by

no test coverage detected