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

Function openDeviceFile

Samples/NiViewer/Device.cpp:172–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172XnStatus openDeviceFile(const char* csFile)
173{
174 XnStatus nRetVal = g_Context.Init();
175 XN_IS_STATUS_OK(nRetVal);
176 nRetVal = g_Context.OpenFileRecording(csFile, g_Player);
177 XN_IS_STATUS_OK(nRetVal);
178 openCommon();
179
180 return XN_STATUS_OK;
181}
182
183XnStatus openDeviceFromXml(const char* csXmlFile, EnumerationErrors& errors)
184{

Callers 1

mainFunction · 0.85

Calls 3

openCommonFunction · 0.85
OpenFileRecordingMethod · 0.80
InitMethod · 0.45

Tested by

no test coverage detected