vrpn  07.33
Virtual Reality Peripheral Network
vrpn_Tracker_SpacePoint.h
Go to the documentation of this file.
1 /*
2  * vrpn_Tracker_SpacePoint.h
3  *
4  * Created on: Nov 22, 2010
5  * Author: janoc
6  */
7 
8 #ifndef VRPN_TRACKER_SPACEPOINT_H_
9 #define VRPN_TRACKER_SPACEPOINT_H_
10 
11 #include <stddef.h> // for size_t
12 
13 #include "vrpn_Button.h" // for vrpn_Button
14 #include "vrpn_Configure.h" // for VRPN_API, VRPN_USE_HID
15 #include "vrpn_HumanInterface.h" // for vrpn_HidInterface
16 #include "vrpn_Shared.h" // for timeval
17 #include "vrpn_Tracker.h" // for vrpn_Tracker
18 #include "vrpn_Types.h" // for vrpn_uint8
19 
21 
22 #ifdef VRPN_USE_HID
23 
25 {
26  public:
27  vrpn_Tracker_SpacePoint(const char * name, vrpn_Connection * trackercon);
28 
29  virtual void mainloop ();
30 
31  virtual void on_data_received(size_t bytes, vrpn_uint8 *buffer);
32 
33  protected:
35  struct timeval _timestamp;
36 };
37 
38 #endif
39 
40 #endif /* VRPN_TRACKER_SPACEPOINT_H_ */
vrpn_Tracker.h
vrpn_Tracker
Definition: vrpn_Tracker.h:49
vrpn_Types.h
vrpn_HidInterface
Definition: vrpn_HumanInterface.h:68
vrpn_Shared.h
vrpn_Tracker_SpacePoint
Definition: vrpn_Tracker_SpacePoint.h:24
vrpn_Button.h
vrpn_HumanInterface.h
vrpn_BaseClass::mainloop
virtual void mainloop()=0
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
vrpn_Connection
Generic connection class not specific to the transport mechanism.
Definition: vrpn_Connection.h:510
vrpn_Button
This is the base class for both the client and server for a button device (a device with one or more ...
Definition: vrpn_Button.h:30
vrpn_HidInterface::on_data_received
virtual void on_data_received(size_t bytes, vrpn_uint8 *buffer)=0
Derived class reimplements this callback.
vrpn_Configure.h
VRPN_API
#define VRPN_API
Definition: vrpn_Configure.h:646
vrpn_Tracker_SpacePoint::_should_report
bool _should_report
Definition: vrpn_Tracker_SpacePoint.h:34