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

Method m_setUpdateCallback

src/osvr/Connection/AsyncDeviceToken.cpp:93–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 } // end of anonymous namespace
92
93 void AsyncDeviceToken::m_setUpdateCallback(DeviceUpdateCallback const &cb) {
94 /// @todo enforce this can't happen when running?
95 m_cb = cb;
96 }
97 void AsyncDeviceToken::m_ensureThreadStarted() {
98 if ((!m_callbackThread) && m_cb) {
99 m_callbackThread.reset(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected