----------------------------------------------------------------------------- Delete all nodes and fetch new node data from the Z-Wave network -----------------------------------------------------------------------------
| 4617 | // Delete all nodes and fetch new node data from the Z-Wave network |
| 4618 | //----------------------------------------------------------------------------- |
| 4619 | void Driver::InitAllNodes |
| 4620 | ( |
| 4621 | ) |
| 4622 | { |
| 4623 | // Delete all the node data |
| 4624 | { |
| 4625 | LockGuard LG(m_nodeMutex); |
| 4626 | for( int i=0; i<256; ++i ) |
| 4627 | { |
| 4628 | if( m_nodes[i] ) |
| 4629 | { |
| 4630 | delete m_nodes[i]; |
| 4631 | m_nodes[i] = NULL; |
| 4632 | } |
| 4633 | } |
| 4634 | } |
| 4635 | // Fetch new node data from the Z-Wave network |
| 4636 | m_controller->PlayInitSequence( this ); |
| 4637 | } |
| 4638 | |
| 4639 | //----------------------------------------------------------------------------- |
| 4640 | // <Driver::InitNode> |
nothing calls this directly
no test coverage detected