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

Function xnNodeQueryFree

Source/OpenNI/XnQueries.cpp:71–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71XN_C_API void xnNodeQueryFree(XnNodeQuery* pQuery)
72{
73 // free needed nodes list
74 for (XnUInt32 i = 0; i < pQuery->nNeededNodes; ++i)
75 {
76 xnOSFree(pQuery->astrNeededNodes[i]);
77 }
78
79 // free capabilities list
80 for (XnUInt32 i = 0; i < pQuery->nSupportedCapabilities; ++i)
81 {
82 xnOSFree(pQuery->astrSupportedCapabilities[i]);
83 }
84
85 xnOSFree(pQuery);
86}
87
88XN_C_API XnStatus xnNodeQuerySetVendor(XnNodeQuery* pQuery, const XnChar* strVendor)
89{

Callers 3

~QueryMethod · 0.85
xnConfigureCreateNodesFunction · 0.85

Calls 1

xnOSFreeFunction · 0.50

Tested by

no test coverage detected