----------------------------------------------------------------------------- Get the basic/generic/specific type of the specified node Returns a copy of the string rather than a const ref for thread safety -----------------------------------------------------------------------------
| 4898 | // Returns a copy of the string rather than a const ref for thread safety |
| 4899 | //----------------------------------------------------------------------------- |
| 4900 | string Driver::GetNodeType |
| 4901 | ( |
| 4902 | uint8 const _nodeId |
| 4903 | ) |
| 4904 | { |
| 4905 | LockGuard LG(m_nodeMutex); |
| 4906 | if( Node* node = GetNode( _nodeId ) ) |
| 4907 | { |
| 4908 | return node->GetType(); |
| 4909 | } |
| 4910 | |
| 4911 | return "Unknown"; |
| 4912 | } |
| 4913 | |
| 4914 | |
| 4915 | bool Driver::IsNodeZWavePlus |