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

Method notifyToken

inc/osvr/Connection/DeviceInitObject.h:125–132  ·  view source on GitHub ↗

@brief Notify all those interested what the device token is.

Source from the content-addressed store, hash-verified

123
124 /// @brief Notify all those interested what the device token is.
125 void notifyToken(OSVR_DeviceTokenObject *dev) {
126 for (auto interest : m_tokenInterest) {
127 *interest = dev;
128 }
129 for (auto ifaceObj : m_deviceInterfaces) {
130 ifaceObj->setDeviceToken(*dev);
131 }
132 }
133
134 /// @brief Returns a tracker interface through the pointer-pointer.
135 void

Callers 1

osvrDeviceGenericInitFunction · 0.80

Calls 1

setDeviceTokenMethod · 0.45

Tested by

no test coverage detected