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

Method m_handleUpdatedRoute

src/osvr/Server/ServerImpl.cpp:304–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302 }
303
304 int ServerImpl::m_handleUpdatedRoute(void *userdata, vrpn_HANDLERPARAM p) {
305 auto self = static_cast<ServerImpl *>(userdata);
306 OSVR_DEV_VERBOSE("Got an updated route from a client.");
307 self->m_addRoute(std::string(p.buffer, p.payload_len));
308 return 0;
309 }
310
311 bool ServerImpl::m_addRoute(std::string const &routingDirective) {
312 bool change =

Callers

nothing calls this directly

Calls 1

m_addRouteMethod · 0.95

Tested by

no test coverage detected