| 1364 | // helper free functions |
| 1365 | |
| 1366 | int Console::printSceneGraph(socket_native_type fd, Node* node, int level) |
| 1367 | { |
| 1368 | int total = 1; |
| 1369 | for (int i = 0; i < level; ++i) |
| 1370 | Console::Utility::sendToConsole(fd, "-", 1); |
| 1371 | |
| 1372 | Console::Utility::mydprintf(fd, " %s\n", node->getDescription().c_str()); |
| 1373 | |
| 1374 | for (const auto& child : node->getChildren()) |
| 1375 | total += printSceneGraph(fd, child, level + 1); |
| 1376 | |
| 1377 | return total; |
| 1378 | } |
| 1379 | |
| 1380 | void Console::printSceneGraphBoot(socket_native_type fd) |
| 1381 | { |
nothing calls this directly
no test coverage detected