vrpn 07.35
Virtual Reality Peripheral Network
Loading...
Searching...
No Matches
vrpn_Wanda.h
Go to the documentation of this file.
1#ifndef VRPN_WANDA
2#define VRPN_WANDA
3#include "vrpn_Analog.h" // for vrpn_CHANNEL_MAX, etc
4#include "vrpn_Button.h" // for vrpn_Button_Filter
5#include "vrpn_Configure.h" // for VRPN_API
6
8
9// This is a driver for the Wanda device, which is an analog and
10// button device. You can find out more at http://home.att.net/~glenmurray/
11// This driver was written at Brown University.
12
14public:
15 vrpn_Wanda(char * name, vrpn_Connection * c, char * portname,int
16 baud, double);
17
18 void mainloop(void);
19
20protected:
21 void report_new_button_info();
22 void report_new_valuator_info();
23
24private:
25 double last_val_timestamp;
26 double resetval[vrpn_CHANNEL_MAX];
28 int bytesread;
29 int first;
30 int index;
31 static int dbug_wanda;
32};
33
34
35#endif
virtual void mainloop()=0
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
All button servers should derive from this class, which provides the ability to turn any of the butto...
Definition: vrpn_Button.h:66
Generic connection class not specific to the transport mechanism.
#define MAX_TIME_INTERVAL
#define vrpn_CHANNEL_MAX
Definition: vrpn_Analog.h:16
#define VRPN_API