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

Method m_handleDeviceDescriptors

src/osvr/Server/ServerImpl.cpp:350–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348 int ServerImpl::getSleepTime() const { return m_sleepTime; }
349
350 void ServerImpl::m_handleDeviceDescriptors() {
351 for (auto const &dev : m_conn->getDevices()) {
352 auto const &descriptor = dev->getDeviceDescriptor();
353 if (descriptor.empty()) {
354 OSVR_DEV_VERBOSE("Developer Warning: No device descriptor for "
355 << dev->getName());
356 } else {
357 m_treeDirty += common::processDeviceDescriptorForPathTree(
358 m_tree, dev->getName(), descriptor);
359 }
360 }
361 }
362
363} // namespace server
364} // namespace osvr

Callers

nothing calls this directly

Calls 4

getDevicesMethod · 0.80
getNameMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected