19#ifndef VRPN_FREESPACE_H
20#define VRPN_FREESPACE_H
24#ifdef VRPN_USE_FREESPACE
26#include <freespace/freespace.h>
58 bool send_body_frames =
false,
59 bool send_user_frames =
true);
69 static bool _freespace_initialized;
70 static void freespaceInit();
75 struct FreespaceDeviceInfo* deviceInfo,
79 void handleUserFrame(
const struct freespace_UserFrame&);
80 void handleBodyFrame(
const struct freespace_BodyFrame&);
81 void handleLinkStatus(
const struct freespace_LinkStatus&);
83 void deviceSetConfiguration(
bool send_body_frames,
bool send_user_frames);
84 void deviceConfigure();
85 void deviceUnconfigure();
89 struct timeval _timestamp;
Generic connection class not specific to the transport mechanism.
This provides an interface to devices powered by Hillcrest Lab's Freespace.
FreespaceDeviceId _freespaceDevice
FreespaceDeviceInfo _deviceInfo
vrpn_float64 _lastBodyFrameTime
virtual void mainloop()
This function should be called each time through app mainloop.