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

Function openDeviceFromXml

Samples/NiViewer/Device.cpp:183–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183XnStatus openDeviceFromXml(const char* csXmlFile, EnumerationErrors& errors)
184{
185 XnStatus nRetVal = XN_STATUS_OK;
186
187 nRetVal = g_Context.InitFromXmlFile(csXmlFile, g_scriptNode, &errors);
188 XN_IS_STATUS_OK(nRetVal);
189
190 openCommon();
191
192 return (XN_STATUS_OK);
193}
194
195XnStatus openDeviceFromXmlWithChoice(const char* csXmlFile, EnumerationErrors& errors)
196{

Callers 1

mainFunction · 0.85

Calls 2

openCommonFunction · 0.85
InitFromXmlFileMethod · 0.80

Tested by

no test coverage detected