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

Method createLocalConnection

src/osvr/Connection/Connection.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 static const char CONNECTION_KEY[] = "com.osvr.ConnectionPtr";
46
47 ConnectionPtr Connection::createLocalConnection() {
48 ConnectionPtr conn(make_shared<VrpnBasedConnection>(
49 VrpnBasedConnection::VRPN_LOCAL_ONLY));
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));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected