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

Method createSharedConnection

src/osvr/Connection/Connection.cpp:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 return conn;
51 }
52 ConnectionPtr Connection::createSharedConnection(
53 boost::optional<std::string const &> iface, boost::optional<int> port) {
54 ConnectionPtr conn(make_shared<VrpnBasedConnection>(iface, port));
55 return conn;
56 }
57 std::tuple<void *, ConnectionPtr> Connection::createLoopbackConnection() {
58 auto conn = make_shared<VrpnBasedConnection>(
59 VrpnBasedConnection::VRPN_LOOPBACK);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected