CSL 5.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Macros | Enumerations
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

## Macros
#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)

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

## Macro Definition 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.

Definition at line 18 of file PME.h.

Referenced by PME::manage_sources(), csl::RemoteIO::process_request_packet(), csl::IO::pullInput(), RS_Read_Loop(), and csl::FileIO::threadFunction().

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

Definition at line 19 of file PME.h.

Referenced by PME::manage_sources().

#define MAX_TRACE_LENGTH (100 * 15)

Definition at line 102 of file PME.h.

Referenced by PMESource::push_trace().

## Enumeration Type Documentation

enum MovementType

Enumerator:

  kStopped |
  kGrabbed |
  kOrbit |
  kDraw |
  kBounce |

Definition at line 36 of file PME.h.

enum GloveState

Enumerator:

  kInvalid |
  kClosed |
  kPoint |
  kOpen |

Definition at line 44 of file PME.h.