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

Method registerDescriptorHandler

src/osvr/Connection/Connection.cpp:154–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152 m_registerConnectionHandler(handler);
153 }
154 void Connection::registerDescriptorHandler(std::function<void()> handler) {
155 m_descriptorHandlers.push_back(handler);
156 }
157
158 void Connection::triggerDescriptorHandlers() {
159 for (auto &handler : m_descriptorHandlers) {

Callers 1

ServerImplMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected