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

Method setDeviceToken

src/osvr/Connection/ConnectionDevice.cpp:63–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 void ConnectionDevice::setDeviceToken(DeviceToken &token) {
64 BOOST_ASSERT(m_token == nullptr);
65 m_token = &token;
66 }
67
68 void ConnectionDevice::setDeviceDescriptor(std::string const &jsonString) {
69 /// @todo validate descriptor here

Callers 1

m_sharedInitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected