| 201 | } |
| 202 | |
| 203 | OSVR_ReturnCode |
| 204 | osvrDeviceAsyncInitWithOptions(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 | |
| 213 | OSVR_ReturnCode osvrDeviceMicrosleep(OSVR_IN uint64_t microseconds) { |
| 214 | boost::this_thread::sleep(boost::posix_time::microseconds(microseconds)); |
no test coverage detected