MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / uri_to_devid

Method uri_to_devid

src/openni2/DeviceDriver.cpp:394–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392 }
393
394 int uri_to_devid(const std::string uri) {
395 int id;
396 std::istringstream is(uri);
397 is.seekg((uriScheme + "://").length());
398 is >> id;
399 return id;
400 }
401
402 void register_uri(std::string uri) {
403 OniDeviceInfo info;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected