5#include "vrpn_Analog.h"  
    7#include "vrpn_Button.h"  
    8#include "vrpn_Configure.h"  
    9#include "vrpn_Connection.h"  
   11#include "vrpn_HumanInterface.h"  
   12#include "vrpn_Shared.h"  
   13#include "vrpn_Types.h"  
   15#if defined(VRPN_USE_HID) 
   29 virtual ~vrpn_Logitech_Controller_Raw(
void);
 
   40 virtual void decodePacket(
size_t bytes, vrpn_uint8 *buffer) = 0;    
 
   41 struct timeval _timestamp;
 
 
   48class vrpn_Logitech_Extreme_3D_Pro: 
protected vrpn_Logitech_Controller_Raw, 
public vrpn_Analog, 
public vrpn_Button_Filter, 
public vrpn_Dial
 
   52 virtual ~vrpn_Logitech_Extreme_3D_Pro(
void) {};
 
   57 void report_changes (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY);
 
   59 void report (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY);
 
   61 void decodePacket(
size_t bytes, vrpn_uint8 *buffer);
 
 
vrpn_BaseClass(const char *name, vrpn_Connection *c=NULL)
 
Generic connection class not specific to the transport mechanism.
定义 vrpn_Connection.h:562
 
定义 vrpn_HumanInterface.h:56
 
vrpn_uint16 product() const
 
vrpn_HidInterface(vrpn_HidAcceptor *acceptor, vrpn_uint16 vendor=0, vrpn_uint16 product=0, hid_device *device=NULL)
 
vrpn_uint16 vendor() const
 
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_Logitech_Controller_Raw.h:45
 
定义 vrpn_Logitech_Controller_Raw.h:49
 
virtual void mainloop(void)
 
This structure is what is passed to a vrpn_Connection message callback.
定义 vrpn_Connection.h:41