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

Function xnStopGenerating

Source/OpenNI/XnOpenNI.cpp:3509–3517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3507}
3508
3509XN_C_API XnStatus xnStopGenerating(XnNodeHandle hInstance)
3510{
3511 XN_VALIDATE_INTERFACE_TYPE(hInstance, XN_NODE_TYPE_GENERATOR);
3512 XN_VALIDATE_CHANGES_ALLOWED(hInstance);
3513 XnGeneratorInterfaceContainer* pInterface = (XnGeneratorInterfaceContainer*)hInstance->pModuleInstance->pLoaded->pInterface;
3514 XnModuleNodeHandle hModuleNode = hInstance->pModuleInstance->hNode;
3515 pInterface->Generator.StopGenerating(hModuleNode);
3516 return (XN_STATUS_OK);
3517}
3518
3519XN_C_API XnStatus xnRegisterToGenerationRunningChange(XnNodeHandle hInstance, XnStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
3520{

Callers 3

StopGeneratingMethod · 0.85
xnStopGeneratingAllFunction · 0.85

Calls 1

StopGeneratingMethod · 0.45

Tested by

no test coverage detected