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

Function xnIsGenerating

Source/OpenNI/XnOpenNI.cpp:3501–3507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3499}
3500
3501XN_C_API XnBool xnIsGenerating(XnNodeHandle hInstance)
3502{
3503 XN_VALIDATE_INTERFACE_TYPE_RET(hInstance, XN_NODE_TYPE_GENERATOR, FALSE);
3504 XnGeneratorInterfaceContainer* pInterface = (XnGeneratorInterfaceContainer*)hInstance->pModuleInstance->pLoaded->pInterface;
3505 XnModuleNodeHandle hModuleNode = hInstance->pModuleInstance->hNode;
3506 return pInterface->Generator.IsGenerating(hModuleNode);
3507}
3508
3509XN_C_API XnStatus xnStopGenerating(XnNodeHandle hInstance)
3510{

Callers 3

IsGeneratingMethod · 0.85

Calls 1

IsGeneratingMethod · 0.45

Tested by

no test coverage detected