copied from NodeName.cpp:Node::getFullyQualifiedNameInternal()
| 447 | |
| 448 | // copied from NodeName.cpp:Node::getFullyQualifiedNameInternal() |
| 449 | std::string |
| 450 | TrackMarker::getFullyQualifiedName() const |
| 451 | { |
| 452 | QMutexLocker l(&_imp->trackMutex); |
| 453 | TrackerContextPtr context = getContext(); |
| 454 | |
| 455 | NodePtr node = context->getNode(); |
| 456 | std::string ret = _imp->trackScriptName; |
| 457 | NodePtr parent = node->getParentMultiInstance(); |
| 458 | |
| 459 | if (parent) { |
| 460 | prependGroupNameRecursive(parent, ret); |
| 461 | } else { |
| 462 | NodeCollectionPtr hasParentGroup = node->getGroup(); |
| 463 | NodeGroup* isGrp = dynamic_cast<NodeGroup*>( hasParentGroup.get() ); |
| 464 | if (isGrp) { |
| 465 | NodePtr grpNode = isGrp->getNode(); |
| 466 | if (grpNode) { |
| 467 | prependGroupNameRecursive(grpNode, ret); |
| 468 | } |
| 469 | } |
| 470 | } |
| 471 | |
| 472 | return ret; |
| 473 | } |
| 474 | |
| 475 | void |
| 476 | TrackMarker::setLabel(const std::string& label) |
nothing calls this directly
no test coverage detected