| 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)); |
nothing calls this directly
no outgoing calls
no test coverage detected