91 bool mEnableAnalogData;
92 bool mEnableButtonData;
93 bool mEnableButtonStateData;
94 bool mEnableTrackerData;
95 bool mEnableTrackerVelData;
96 bool mEnableTrackerAccelData;
102 boost::recursive_mutex m_mutex;
104 boost::mutex m_mutex;
106 vrpn_Analog_Remote* m_analog;
107 vrpn_Button_Remote* m_button;
108 vrpn_Tracker_Remote* m_traker;
109 vrpn_Dial_Remote* m_dial;
110 vrpn_Text_Receiver* m_textMessage;
118 SVrpn(
const std::string& host,
const std::string& name);
125 std::string GetName();
127 void EnableAnalogData(
bool state);
128 void EnableButtonData(
bool state);
129 void EnableButtonStateData(
bool state);
130 void EnableTrackerData(
bool state);
131 void EnableTrackerVelData(
bool state);
132 void EnableTrackerAccelData(
bool state);
133 void EnableDialData(
bool state);
134 void EnableTextData(
bool state);
136 bool GetEnableAnalogData();
137 bool GetEnableButtonData();
138 bool GetEnableButtonStateData();
139 bool GetEnableTrackerData();
140 bool GetEnableTrackerVelData();
141 bool GetEnableTrackerAccelData();
142 bool GetEnableDialData();
143 bool GetEnableTextData();
149 static void VRPN_CALLBACK handle_analog(
void* userData,
const vrpn_ANALOGCB analog);
150 static void VRPN_CALLBACK handle_button_state(
void* userData,
const vrpn_BUTTONCB button);
151 static void VRPN_CALLBACK handle_button_states(
void* userData,
const vrpn_BUTTONSTATESCB button);
152 static void VRPN_CALLBACK handle_tracker(
void* userData,
const vrpn_TRACKERCB tracker);
153 static void VRPN_CALLBACK handle_tracker_vel(
void* userData,
const vrpn_TRACKERVELCB tracker);
154 static void VRPN_CALLBACK handle_tracker_acc(
void* userData,
const vrpn_TRACKERACCCB tracker);
155 static void VRPN_CALLBACK handle_dial(
void* userData,
const vrpn_DIALCB dial);
156 static void VRPN_CALLBACK handle_text(
void* userData,
const vrpn_TEXTCB text);