I'm trying to get the Root Node in Python but obviously I haven't quite grapsed the concept fully. Can someone give me an idea as to where I may be going wrong?
"WireTapServerHandle::getRootNode
bool WireTapServerHandle::getRootNode(
WireTapNodeHandle &root
) const"
"The root node may be queried through the call getRootNode.."
"root: The root parameter is a WireTapNodeHandle object."
"Upon success, the result is placed in the root parameter."
# server = WireTapServerHandle('myMachine')
# root = WireTapNodeHandle()
# rootNode = server.getRootNode(root)
# print root
or
# print root.getNodeId()
Gives ""
Rather than an ID I would like to see the root node as a string, perhaps I need to call 'WireTapNodeHandle::getNodeTypeStr' once I get the concept correct?