PME.h File Reference

#include "CPoint.h"
#include "VBAP.h"
#include "ThreadUtilities.h"
#include "PracticalSocket.h"
#include "CGestalt.h"
#include <sys/time.h>

Go to the source code of this file.

Classes

struct  controller_str
class  Controller
class  Orbit
class  PMESource
class  PME

Defines

#define GET_TIME(val)   if (gettimeofday(val, 0) != 0) cout << "Output: Error reading current time" << endl;
#define SUB_TIMES(t1, t2)   (((t1->tv_sec - t2->tv_sec) * 1000000) + (t1->tv_usec - t2->tv_usec))
#define MAX_TRACE_LENGTH   (100 * 15)

Enumerations

enum  MovementType {
  kStopped, kGrabbed, kOrbit, kDraw,
  kBounce
}
enum  GloveState { kInvalid = -1, kClosed = 0, kPoint = 1, kOpen = 15 }


Define Documentation

#define GET_TIME ( val   )     if (gettimeofday(val, 0) != 0) cout << "Output: Error reading current time" << endl;

PME.h -- Ventriloquist See the copyright notice and acknowledgment of authors in the file COPYRIGHT Doug McCoy, 2004.

#define SUB_TIMES ( t1,
t2   )     (((t1->tv_sec - t2->tv_sec) * 1000000) + (t1->tv_usec - t2->tv_usec))

#define MAX_TRACE_LENGTH   (100 * 15)

Referenced by PMESource::push_trace().


Enumeration Type Documentation

Enumerator:
kStopped 
kGrabbed 
kOrbit 
kDraw 
kBounce 

enum GloveState

Enumerator:
kInvalid 
kClosed 
kPoint 
kOpen 


Generated on Thu Sep 17 23:14:16 2009 for CSL by  doxygen 1.5.8