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

Function xnNodeQueryAddNeededNode

Source/OpenNI/XnQueries.cpp:157–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157XN_C_API XnStatus xnNodeQueryAddNeededNode(XnNodeQuery* pQuery, const XnChar* strInstanceName)
158{
159 XN_VALIDATE_INPUT_PTR(pQuery);
160 XN_VALIDATE_INPUT_PTR(strInstanceName);
161 pQuery->astrNeededNodes[pQuery->nNeededNodes++] = xnOSStrDup(strInstanceName);
162 return (XN_STATUS_OK);
163}
164
165XN_C_API XnStatus xnNodeQuerySetCreationInfo(XnNodeQuery* pQuery, const XnChar* strCreationInfo)
166{

Callers 3

AddNeededNodeMethod · 0.85
xnXmlReadQueryFunction · 0.85

Calls 1

xnOSStrDupFunction · 0.85

Tested by

no test coverage detected