00001 /*************************************************************************** 00002 *cr 00003 *cr (C) Copyright 1995-2019 The Board of Trustees of the 00004 *cr University of Illinois 00005 *cr All Rights Reserved 00006 *cr 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * RCS INFORMATION: 00011 * 00012 * $RCSfile: P_CaveTracker.h,v $ 00013 * $Author: johns $ $Locker: $ $State: Exp $ 00014 * $Revision: 1.20 $ $Date: 2019/01/17 21:21:00 $ 00015 * 00016 *************************************************************************** 00017 * DESCRIPTION: 00018 * This is Paul's new Tracker code -- pgrayson@ks.uiuc.edu 00019 * 00020 * Representation of the Tracker in the CAVE. 00021 * 00022 ***************************************************************************/ 00023 00025 class CaveTracker : public VMDTracker { 00026 private: 00027 int caveTrackerNum; 00028 00029 protected: 00030 int do_start(const SensorConfig *config); 00031 00032 public: 00033 CaveTracker() 00034 : caveTrackerNum(1) {} 00035 00036 const char *device_name() const { return "cavetracker"; } 00037 virtual VMDTracker *clone() { return new CaveTracker; } 00038 00039 inline virtual int alive() { return 1; } 00040 virtual void update(); 00041 }; 00042