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

Method m_update

src/osvr/Common/DeviceWrapper.cpp:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 void DeviceWrapper::mainloop() { update(); }
53
54 void DeviceWrapper::m_update() {
55 if (m_client) {
56 m_getConnection()->mainloop();
57 client_mainloop();
58 } else {
59 server_mainloop();
60 }
61 }
62
63 int DeviceWrapper::register_types() {
64 return 0; // success

Callers

nothing calls this directly

Calls 1

mainloopMethod · 0.45

Tested by

no test coverage detected