| 190 | m_update(); |
| 191 | } |
| 192 | void ServerImpl::m_update() { |
| 193 | osvr::common::tracing::ServerUpdate trace; |
| 194 | m_conn->process(); |
| 195 | if (m_treeDirty) { |
| 196 | OSVR_DEV_VERBOSE("Path tree updated"); |
| 197 | m_sendTree(); |
| 198 | m_treeDirty.reset(); |
| 199 | } |
| 200 | m_systemDevice->update(); |
| 201 | for (auto &f : m_mainloopMethods) { |
| 202 | f(); |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | bool ServerImpl::m_loop() { |
| 207 | bool shouldContinue; |