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

Method VrpnBasedConnection

src/osvr/Connection/VrpnBasedConnection.cpp:45–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 } // namespace messageid
44
45 VrpnBasedConnection::VrpnBasedConnection(ConnectionType type) {
46 switch (type) {
47 case VRPN_LOCAL_ONLY: {
48 m_initConnection("localhost");
49 break;
50 }
51 case VRPN_SHARED: {
52 m_initConnection();
53 break;
54 }
55 case VRPN_LOOPBACK: {
56 m_initConnection("loopback:");
57 break;
58 }
59 }
60 }
61
62 VrpnBasedConnection::VrpnBasedConnection(
63 boost::optional<std::string const &> iface, boost::optional<int> port) {

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected