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;
96 #endif //VRPN_USE_FREESPACE 98 #endif // VRPN_FREESPACE_H This provides an interface to devices powered by Hillcrest Lab's Freespace.
FreespaceDeviceInfo _deviceInfo
FreespaceDeviceId _freespaceDevice
Generic connection class not specific to the transport mechanism.
virtual void mainloop()=0
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
vrpn_float64 _lastBodyFrameTime