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

Method registerMainloopMethod

src/osvr/Server/ServerImpl.cpp:178–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176 }
177
178 void ServerImpl::registerMainloopMethod(MainloopMethod f) {
179 if (f) {
180 m_callControlled([&] { m_mainloopMethods.push_back(f); });
181 }
182 }
183
184 void ServerImpl::update() {
185 boost::unique_lock<boost::mutex> lock(m_runControl);

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected