| 74 | : m_numSensor(numChan) {} |
| 75 | |
| 76 | void |
| 77 | DirectionComponent::sendDirectionData(OSVR_DirectionState direction, |
| 78 | OSVR_ChannelCount sensor, |
| 79 | OSVR_TimeValue const ×tamp) { |
| 80 | |
| 81 | Buffer<> buf; |
| 82 | messages::DirectionRecord::MessageSerialization msg(direction, sensor); |
| 83 | serialize(buf, msg); |
| 84 | |
| 85 | m_getParent().packMessage(buf, directionRecord.getMessageType(), |
| 86 | timestamp); |
| 87 | } |
| 88 | |
| 89 | int VRPN_CALLBACK |
| 90 | DirectionComponent::m_handleDirectionRecord(void *userdata, |
no test coverage detected