----------------------------------------------------------------------------- Get the manufacturer name for the node with the specified ID Returns a copy of the string rather than a const ref for thread safety -----------------------------------------------------------------------------
| 4952 | // Returns a copy of the string rather than a const ref for thread safety |
| 4953 | //----------------------------------------------------------------------------- |
| 4954 | string Driver::GetNodeManufacturerName |
| 4955 | ( |
| 4956 | uint8 const _nodeId |
| 4957 | ) |
| 4958 | { |
| 4959 | LockGuard LG(m_nodeMutex); |
| 4960 | if( Node* node = GetNode( _nodeId ) ) |
| 4961 | { |
| 4962 | return node->GetManufacturerName(); |
| 4963 | } |
| 4964 | |
| 4965 | return ""; |
| 4966 | } |
| 4967 | |
| 4968 | //----------------------------------------------------------------------------- |
| 4969 | // <Driver::GetNodeProductName> |
no test coverage detected