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

Method getSourceFromString

src/osvr/Common/RouteContainer.cpp:139–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 return getDestinationFromJson(parseRoutingDirective(route));
138 }
139 std::string RouteContainer::getSourceFromString(std::string const &route) {
140 return getSourceFromJson(parseRoutingDirective(route));
141 }
142 bool RouteContainer::m_addRoute(std::string const &destination,
143 std::string const &routingDirective) {
144 bool replaced = false;

Callers

nothing calls this directly

Calls 2

getSourceFromJsonFunction · 0.85
parseRoutingDirectiveFunction · 0.85

Tested by

no test coverage detected