| 393 | } |
| 394 | |
| 395 | XnStatus MockGenerator::FrameSyncWith(xn::ProductionNode& other) |
| 396 | { |
| 397 | XnStatus nRetVal = XN_STATUS_OK; |
| 398 | |
| 399 | if (!other.IsValid()) |
| 400 | { |
| 401 | return XN_STATUS_BAD_PARAM; |
| 402 | } |
| 403 | |
| 404 | nRetVal = SetFrameSyncNode(other.GetName()); |
| 405 | XN_IS_STATUS_OK(nRetVal); |
| 406 | |
| 407 | return (XN_STATUS_OK); |
| 408 | } |
| 409 | |
| 410 | XnStatus MockGenerator::StopFrameSyncWith(xn::ProductionNode& other) |
| 411 | { |
no test coverage detected