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

Function xnNodeQueryAddSupportedCapability

Source/OpenNI/XnQueries.cpp:120–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120XN_C_API XnStatus xnNodeQueryAddSupportedCapability(XnNodeQuery* pQuery, const XnChar* strNeededCapability)
121{
122 XN_VALIDATE_INPUT_PTR(pQuery);
123 XN_VALIDATE_INPUT_PTR(strNeededCapability);
124 pQuery->astrSupportedCapabilities[pQuery->nSupportedCapabilities++] = xnOSStrDup(strNeededCapability);
125 return (XN_STATUS_OK);
126}
127
128XN_C_API XnStatus xnNodeQueryAddSupportedMapOutputMode(XnNodeQuery* pQuery, const XnMapOutputMode* pMapOutputMode)
129{

Calls 1

xnOSStrDupFunction · 0.85

Tested by

no test coverage detected