~hitmuri/vjpirate/trunk

« back to all changes in this revision

Viewing changes to os/win/include/vrpn_3Space.h

  • Committer: Florent Berthaut
  • Date: 2014-07-26 18:53:16 UTC
  • mfrom: (5.1.12 mac)
  • Revision ID: flo@localhost.localdomain-20140726185316-c2ucnwmgm5kij4e2
Merged mac branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef SPACE_H
 
2
#define SPACE_H
 
3
 
 
4
#include <time.h>
 
5
#include <math.h>
 
6
#include <stdlib.h>
 
7
#include <stdio.h>
 
8
#ifndef _WIN32
 
9
#include <sys/time.h>
 
10
#endif
 
11
 
 
12
#include "vrpn_Tracker.h"
 
13
 
 
14
class VRPN_API vrpn_Tracker_3Space: public vrpn_Tracker_Serial {
 
15
  
 
16
 public:
 
17
  
 
18
  vrpn_Tracker_3Space(char *name, vrpn_Connection *c,
 
19
                      const char *port = "/dev/ttyS1", long baud = 19200) :
 
20
  vrpn_Tracker_Serial(name,c,port,baud) {};
 
21
    
 
22
 protected:
 
23
  
 
24
  /// Returns 0 if didn't get a complete report, 1 if it did.
 
25
  virtual int get_report(void);
 
26
 
 
27
  virtual void reset();
 
28
 
 
29
};
 
30
 
 
31
#endif