13#include "vrpn_HumanInterface.h"
14#include "vrpn_Analog.h"
16#if defined(VRPN_USE_HID)
39 virtual bool parse_message(std::size_t bytes, vrpn_uint8 *buffer);
Generic connection class not specific to the transport mechanism.
定义 vrpn_Connection.h:562
vrpn_HidInterface(vrpn_HidAcceptor *acceptor, vrpn_uint16 vendor=0, vrpn_uint16 product=0, hid_device *device=NULL)
void on_data_received(std::size_t bytes, vrpn_uint8 *buffer)
void parse_message_type_1(std::size_t bytes, vrpn_uint8 *buffer)
Parse and send reports for type-1 message
vrpn_Laputa(const char *name, vrpn_Connection *c=NULL)
virtual ~vrpn_Laputa()
Destructor.
struct timeval d_timestamp
Timestamp updated during mainloop()
定义 vrpn_Laputa.h:53