| 284 | } |
| 285 | |
| 286 | XnStatus xnConfigureFrameSync(XnNodeHandle hNode, const TiXmlElement* pOpcode) |
| 287 | { |
| 288 | XnStatus nRetVal = XN_STATUS_OK; |
| 289 | |
| 290 | XnContext* pContext = hNode->pContext; |
| 291 | XnNodeHandle hOther = NULL; |
| 292 | |
| 293 | nRetVal = xnGetRefNodeHandleByName(pContext, pOpcode->GetText(), &hOther); |
| 294 | XN_IS_STATUS_OK(nRetVal); |
| 295 | |
| 296 | nRetVal = xnFrameSyncWith(hNode, hOther); |
| 297 | xnProductionNodeRelease(hOther); |
| 298 | XN_IS_STATUS_OK(nRetVal); |
| 299 | |
| 300 | return (XN_STATUS_OK); |
| 301 | } |
| 302 | |
| 303 | XnStatus xnConfigureAlternativeViewPoint(XnNodeHandle hNode, const TiXmlElement* pOpcode) |
| 304 | { |
no test coverage detected