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

Method m_sharedInit

src/osvr/Connection/DeviceToken.cpp:118–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116void OSVR_DeviceTokenObject::m_stopThreads() {}
117
118void OSVR_DeviceTokenObject::m_sharedInit(DeviceInitObject &init) {
119 m_conn = init.getConnection();
120 m_dev = m_conn->createConnectionDevice(init);
121 m_dev->setDeviceToken(*this);
122 m_serverInterfaces = init.getServerInterfaces();
123 for (auto &iface : m_serverInterfaces) {
124 iface->registerMessageTypes(*this);
125 }
126}

Callers 3

createAsyncDeviceMethod · 0.80
createSyncDeviceMethod · 0.80
createVirtualDeviceMethod · 0.80

Calls 3

getConnectionMethod · 0.45
setDeviceTokenMethod · 0.45

Tested by

no test coverage detected