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

Method IsNodeRoutingDevice

cpp/src/Driver.cpp:4747–4760  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get whether the node is a routing device that passes messages to other nodes -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

4745// Get whether the node is a routing device that passes messages to other nodes
4746//-----------------------------------------------------------------------------
4747bool Driver::IsNodeRoutingDevice
4748(
4749 uint8 const _nodeId
4750)
4751{
4752 bool res = false;
4753 LockGuard LG(m_nodeMutex);
4754 if( Node* node = GetNode( _nodeId ) )
4755 {
4756 res = node->IsRoutingDevice();
4757 }
4758
4759 return res;
4760}
4761
4762//-----------------------------------------------------------------------------
4763// <Driver::IsNodeSecurityDevice>

Callers

nothing calls this directly

Calls 1

IsRoutingDeviceMethod · 0.80

Tested by

no test coverage detected