vrpn
07.35
Virtual Reality Peripheral Network
Loading...
Searching...
No Matches
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
20
class
VRPN_API
vrpn_Connection
;
21
22
#ifdef VRPN_USE_HID
23
24
class
VRPN_API
vrpn_Tracker_SpacePoint
:
public
vrpn_Tracker
,
vrpn_Button
,
vrpn_HidInterface
25
{
26
public
:
27
vrpn_Tracker_SpacePoint
(
const
char
* name,
vrpn_Connection
* trackercon,
int
index = 0);
28
29
virtual
void
mainloop
();
30
31
virtual
void
on_data_received
(
size_t
bytes, vrpn_uint8 *buffer);
32
33
protected
:
34
bool
_should_report
;
35
struct
timeval _timestamp;
36
};
37
38
#endif
39
40
#endif
/* VRPN_TRACKER_SPACEPOINT_H_ */
vrpn_BaseClass::mainloop
virtual void mainloop()=0
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
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:31
vrpn_Connection
Generic connection class not specific to the transport mechanism.
Definition
vrpn_Connection.h:561
vrpn_HidInterface
Definition
vrpn_HumanInterface.h:70
vrpn_HidInterface::on_data_received
virtual void on_data_received(size_t bytes, vrpn_uint8 *buffer)=0
Derived class reimplements this callback.
vrpn_Tracker_SpacePoint
Definition
vrpn_Tracker_SpacePoint.h:25
vrpn_Tracker_SpacePoint::_should_report
bool _should_report
Definition
vrpn_Tracker_SpacePoint.h:34
vrpn_Tracker
Definition
vrpn_Tracker.h:49
vrpn_Button.h
vrpn_Configure.h
VRPN_API
#define VRPN_API
Definition
vrpn_Configure.h:648
vrpn_HumanInterface.h
vrpn_Shared.h
vrpn_Tracker.h
vrpn_Types.h
vrpn_Tracker_SpacePoint.h
Generated by
1.9.8