| 550 | } |
| 551 | |
| 552 | XnStatus PlayerImpl::SetNodeIntProp(const XnChar* strNodeName, const XnChar* strPropName, XnUInt64 nValue) |
| 553 | { |
| 554 | XnStatus nRetVal = XN_STATUS_OK; |
| 555 | |
| 556 | PlayedNodeInfo playedNode; |
| 557 | nRetVal = m_playedNodes.Get(strNodeName, playedNode); |
| 558 | XN_IS_STATUS_OK(nRetVal); |
| 559 | |
| 560 | nRetVal = xnLockedNodeStartChanges(playedNode.hNode, playedNode.hLock); |
| 561 | XN_IS_STATUS_OK(nRetVal); |
| 562 | |
| 563 | nRetVal = xnSetIntProperty(playedNode.hNode, strPropName, nValue); |
| 564 | if (nRetVal != XN_STATUS_OK) |
| 565 | { |
| 566 | xnLockedNodeEndChanges(playedNode.hNode, playedNode.hLock); |
| 567 | return (nRetVal); |
| 568 | } |
| 569 | |
| 570 | nRetVal = xnLockedNodeEndChanges(playedNode.hNode, playedNode.hLock); |
| 571 | XN_IS_STATUS_OK(nRetVal); |
| 572 | |
| 573 | return XN_STATUS_OK; |
| 574 | } |
| 575 | |
| 576 | XnStatus PlayerImpl::SetNodeRealProp(const XnChar* strNodeName, const XnChar* strPropName, XnDouble dValue) |
| 577 | { |
no test coverage detected