----------------------------------------------------------------------------- Helper method to return whether a particular class is available in a node -----------------------------------------------------------------------------
| 1514 | // Helper method to return whether a particular class is available in a node |
| 1515 | //----------------------------------------------------------------------------- |
| 1516 | bool Manager::IsNodeInfoReceived |
| 1517 | ( |
| 1518 | uint32 const _homeId, |
| 1519 | uint8 const _nodeId |
| 1520 | ) |
| 1521 | { |
| 1522 | bool result = false; |
| 1523 | |
| 1524 | if( Driver* driver = GetDriver( _homeId ) ) |
| 1525 | { |
| 1526 | Node *node; |
| 1527 | |
| 1528 | // Need to lock and unlock nodes to check this information |
| 1529 | LockGuard LG(driver->m_nodeMutex); |
| 1530 | |
| 1531 | if( (node = driver->GetNode( _nodeId ) ) != NULL) |
| 1532 | { |
| 1533 | result = node->NodeInfoReceived(); |
| 1534 | } |
| 1535 | } |
| 1536 | |
| 1537 | return result; |
| 1538 | } |
| 1539 | |
| 1540 | //----------------------------------------------------------------------------- |
| 1541 | // <Manager::GetNodeClassAvailable> |
nothing calls this directly
no test coverage detected