| 52 | } |
| 53 | |
| 54 | void DeviceComponent::m_registerHandler(vrpn_MESSAGEHANDLER handler, |
| 55 | void *userdata, |
| 56 | RawMessageType const &msgType) { |
| 57 | auto h = make_shared<MessageHandler<BaseDeviceMessageHandleTraits> >( |
| 58 | handler, userdata, msgType); |
| 59 | h->registerHandler(&m_getParent()); |
| 60 | m_messageHandlers.push_back(h); |
| 61 | } |
| 62 | void DeviceComponent::m_update() {} |
| 63 | } // namespace common |
| 64 | } // namespace osvr |
nothing calls this directly
no test coverage detected