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

Function xnCanFrameSyncWith

Source/OpenNI/XnOpenNI.cpp:4155–4162  ·  view source on GitHub ↗

--------------------------------------------------------------------------- Frame Sync Capability ---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

4153// Frame Sync Capability
4154//---------------------------------------------------------------------------
4155XN_C_API XnBool xnCanFrameSyncWith(XnNodeHandle hInstance, XnNodeHandle hOther)
4156{
4157 XN_VALIDATE_INTERFACE_TYPE_RET(hInstance, XN_NODE_TYPE_GENERATOR, FALSE);
4158 XnGeneratorInterfaceContainer* pInterface = (XnGeneratorInterfaceContainer*)hInstance->pModuleInstance->pLoaded->pInterface;
4159 XnModuleNodeHandle hModuleNode = hInstance->pModuleInstance->hNode;
4160 XN_VALIDATE_FUNC_PTR_RET(pInterface->FrameSync.CanFrameSyncWith, FALSE);
4161 return pInterface->FrameSync.CanFrameSyncWith(hModuleNode, hOther);
4162}
4163
4164XN_C_API XnStatus xnFrameSyncWith(XnNodeHandle hInstance, XnNodeHandle hOther)
4165{

Calls 1

CanFrameSyncWithMethod · 0.45

Tested by

no test coverage detected