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

Method releaseInterface

src/osvr/Client/ClientInterfaceObjectManager.cpp:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 }
63 }
64 void ClientInterfaceObjectManager::releaseInterface(
65 common::ClientInterfacePtr const &iface) {
66 auto pin = iface;
67 const auto isEmpty = m_interfaces.removeInterface(pin);
68 if (isEmpty) {
69 m_removeCallbacksOnPath(pin->getPath());
70 }
71 }
72
73 void ClientInterfaceObjectManager::updateHandlers() {
74 m_interfaces.updateHandlers();

Callers 2

osvrClientFreeInterfaceFunction · 0.45

Calls 1

removeInterfaceMethod · 0.80

Tested by

no test coverage detected