1#ifndef vrpn_POSER_ANALOG_H
2#define vrpn_POSER_ANALOG_H
Generic connection class not specific to the transport mechanism.
vrpn_PA_axis(char *name=NULL, int c=-1, double offset=0.0, double s=1.0)
vrpn_Analog_Output_Remote * ana
vrpn_float64 vel_rot_min[3]
vrpn_float64 pos_rot_max[3]
vrpn_float64 pos_rot_min[3]
vrpn_float64 vel_rot_max[3]
static int VRPN_CALLBACK handle_vel_change_message(void *userdata, vrpn_HANDLERPARAM p)
vrpn_Poser_Analog(const char *name, vrpn_Connection *c, vrpn_Poser_AnalogParam *p, bool act_as_tracker=false)
bool setup_channel(vrpn_PA_fullaxis *full)
bool update_Analog_values()
virtual void mainloop()
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
static int VRPN_CALLBACK handle_change_message(void *userdata, vrpn_HANDLERPARAM p)
vrpn_Poser(const char *name, vrpn_Connection *c=NULL)
vrpn_Tracker(const char *name, vrpn_Connection *c=NULL, const char *tracker_cfg_file_name=NULL)
This structure is what is passed to a vrpn_Connection message callback.
class VRPN_API vrpn_Poser_Analog
class VRPN_API vrpn_Connection
class VRPN_API vrpn_Analog_Output_Remote