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

Method RemoveNode

cpp/src/Manager.cpp:4203–4215  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Remove a Device from the Network. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

4201// Remove a Device from the Network.
4202//-----------------------------------------------------------------------------
4203bool Manager::RemoveNode
4204(
4205 uint32 const _homeId
4206)
4207{
4208 if (Driver *driver = GetDriver( _homeId ) ) {
4209 LockGuard LG(driver->m_nodeMutex);
4210 return driver->BeginControllerCommand(
4211 Driver::ControllerCommand_RemoveDevice,
4212 NULL, NULL, true, 0, 0);
4213 }
4214 return false;
4215}
4216
4217//-----------------------------------------------------------------------------
4218// <Manager::RemoveFailedNode>

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected