MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / FrameSyncWith

Method FrameSyncWith

Source/Modules/nimMockNodes/MockGenerator.cpp:395–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393}
394
395XnStatus 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
410XnStatus MockGenerator::StopFrameSyncWith(xn::ProductionNode& other)
411{

Callers 2

xnFrameSyncWithFunction · 0.45
ConfigureGeneratorsFunction · 0.45

Calls 2

GetNameMethod · 0.80
IsValidMethod · 0.45

Tested by

no test coverage detected