Skip to content

Commit

Permalink
Removing undefined functiond declarations. Moving public declarations…
Browse files Browse the repository at this point in the history
… to protected for methods that should be protected.
  • Loading branch information
russell-taylor committed Oct 31, 2015
1 parent 9a5e4fb commit c21a098
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions vrpn_Tracker_AnalogFly.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,8 @@ class VRPN_API vrpn_Tracker_AnalogFly : public vrpn_Tracker {
virtual ~vrpn_Tracker_AnalogFly (void);

virtual void mainloop ();
virtual void reset (void);

void update (q_matrix_type &);

static void VRPN_CALLBACK handle_joystick (void *, const vrpn_ANALOGCB);
static int VRPN_CALLBACK handle_newConnection (void *, vrpn_HANDLERPARAM);

protected:

double d_update_interval; //< How long to wait between sends
struct timeval d_prevtime; //< Time of the previous report
bool d_absolute; //< Report absolute (vs. differential)?
Expand All @@ -145,11 +138,13 @@ class VRPN_API vrpn_Tracker_AnalogFly : public vrpn_Tracker {

int setup_channel (vrpn_TAF_fullaxis * full);
int teardown_channel (vrpn_TAF_fullaxis * full);
virtual void reset(void);

static void VRPN_CALLBACK handle_analog_update (void * userdata,
const vrpn_ANALOGCB info);
static void VRPN_CALLBACK handle_reset_press (void * userdata, const vrpn_BUTTONCB info);
static void VRPN_CALLBACK handle_clutch_press (void * userdata, const vrpn_BUTTONCB info);
static int VRPN_CALLBACK handle_newConnection(void *, vrpn_HANDLERPARAM);
};

#endif

0 comments on commit c21a098

Please sign in to comment.