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

Method m_report

src/osvr/Client/ButtonRemoteFactory.cpp:122–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121 }
122 void m_report(OSVR_TimeValue const &timestamp, int32_t sensor,
123 vrpn_int32 state) {
124 OSVR_ButtonReport report;
125 report.sensor = sensor;
126 report.state = static_cast<uint8_t>(state);
127 for (auto &iface : m_interfaces) {
128 iface->triggerCallbacks(timestamp, report);
129 }
130 }
131 unique_ptr<vrpn_Button_Remote> m_remote;
132 common::InterfaceList &m_interfaces;
133 bool m_all;

Callers

nothing calls this directly

Calls 1

triggerCallbacksMethod · 0.45

Tested by

no test coverage detected