----------------------------------------------------------------------------- Helper to set the node level through the basic command class -----------------------------------------------------------------------------
| 5266 | // Helper to set the node level through the basic command class |
| 5267 | //----------------------------------------------------------------------------- |
| 5268 | void Driver::SetNodeLevel |
| 5269 | ( |
| 5270 | uint8 const _nodeId, |
| 5271 | uint8 const _level |
| 5272 | ) |
| 5273 | { |
| 5274 | LockGuard LG(m_nodeMutex); |
| 5275 | if( Node* node = GetNode( _nodeId ) ) |
| 5276 | { |
| 5277 | node->SetLevel( _level ); |
| 5278 | } |
| 5279 | } |
| 5280 | |
| 5281 | //----------------------------------------------------------------------------- |
| 5282 | // <Driver::SetNodeOn> |