| 378 | } |
| 379 | |
| 380 | XnBool MockGenerator::CanFrameSyncWith(xn::ProductionNode& other) |
| 381 | { |
| 382 | if (!m_bFrameSyncCap) |
| 383 | { |
| 384 | return FALSE; |
| 385 | } |
| 386 | |
| 387 | if (!other.IsValid()) |
| 388 | { |
| 389 | return XN_STATUS_BAD_PARAM; |
| 390 | } |
| 391 | |
| 392 | return (strcmp(other.GetName(), m_strFrameSyncWith) == 0); |
| 393 | } |
| 394 | |
| 395 | XnStatus MockGenerator::FrameSyncWith(xn::ProductionNode& other) |
| 396 | { |
no test coverage detected