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

Method registerReplaceTreeHandler

src/osvr/Common/SystemComponent.cpp:143–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 // shuffling of remotes on the client.
142 }
143 void SystemComponent::registerReplaceTreeHandler(JsonHandler cb) {
144 if (m_replaceTreeHandlers.empty()) {
145 m_registerHandler(&SystemComponent::m_handleReplaceTree, this,
146 treeOut.getMessageType());
147 }
148 m_replaceTreeHandlers.push_back(cb);
149 }
150
151 void SystemComponent::m_parentSet() {
152 m_getParent().registerMessageType(routesOut);

Callers 2

JointClientContextMethod · 0.80
PureClientContextMethod · 0.80

Calls 3

getMessageTypeMethod · 0.80
emptyMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected