MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / osvrDeviceAsyncInitWithOptions

Function osvrDeviceAsyncInitWithOptions

src/osvr/PluginKit/DeviceInterfaceC.cpp:203–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203OSVR_ReturnCode
204osvrDeviceAsyncInitWithOptions(OSVR_IN_PTR OSVR_PluginRegContext,
205 OSVR_IN_STRZ const char *name,
206 OSVR_IN_PTR OSVR_DeviceInitOptions options,
207 OSVR_OUT_PTR OSVR_DeviceToken *device) {
208 OSVR_PLUGIN_HANDLE_NULL_CONTEXT("osvrDeviceAsyncInitWithOptions", options);
209 return osvrDeviceGenericInit(options, name, device,
210 OSVR_DeviceTokenObject::createAsyncDevice);
211}
212
213OSVR_ReturnCode osvrDeviceMicrosleep(OSVR_IN uint64_t microseconds) {
214 boost::this_thread::sleep(boost::posix_time::microseconds(microseconds));

Callers 1

initAsyncMethod · 0.85

Calls 1

osvrDeviceGenericInitFunction · 0.85

Tested by

no test coverage detected