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

Method addInterface

src/osvr/Client/ClientInterfaceObjectManager.cpp:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 }
55
56 void ClientInterfaceObjectManager::addInterface(
57 common::ClientInterfacePtr const &iface) {
58 auto pin = iface;
59 const auto isNew = m_interfaces.addInterface(pin);
60 if (isNew) {
61 m_connectCallbacksOnPath(pin->getPath());
62 }
63 }
64 void ClientInterfaceObjectManager::releaseInterface(
65 common::ClientInterfacePtr const &iface) {
66 auto pin = iface;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected