5#include "vrpn_Analog.h"
6#include "vrpn_Button.h"
7#include "vrpn_HumanInterface.h"
9#if defined(VRPN_USE_HID)
27 virtual void decodePacket(
size_t bytes, vrpn_uint8 *buffer) = 0;
28 struct timeval d_timestamp;
45 void report_changes (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY);
47 void report (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY);
49 void decodePacket(
size_t bytes, vrpn_uint8 *buffer);
62 void report_changes (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY);
64 void report (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY);
66 void decodePacket(
size_t bytes, vrpn_uint8 *buffer);
Generic connection class not specific to the transport mechanism.
定义 vrpn_Connection.h:562
定义 vrpn_HumanInterface.h:56
定义 vrpn_HumanInterface.h:70
vrpn_uint16 product() const
vrpn_uint16 vendor() const
定义 vrpn_nVidia_shield_controller.h:36
virtual void mainloop(void)
定义 vrpn_nVidia_shield_controller.h:53
virtual void mainloop(void)
定义 vrpn_nVidia_shield_controller.h:14
virtual void mainloop(void)=0
void on_data_received(size_t bytes, vrpn_uint8 *buffer)
Derived class reimplements this callback. It is called whenever a read returns some data.
int register_types(void)
定义 vrpn_nVidia_shield_controller.h:32