|
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
gz_time.hGo to the documentation of this file.00001 /* 00002 * Player - One Hell of a Robot Server 00003 * Brian Gerkey, Kasper Stoy, Richard Vaughan, & Andrew Howard 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00018 * 00019 */ 00021 // 00022 // Desc: Gazebo (simulator) time 00023 // Author: Andrew Howard 00024 // Date: 7 May 2003 00025 // CVS: $Id: gz_time.h,v 1.3 2004/10/31 22:28:41 inspectorg Exp $ 00026 // 00028 00029 #ifndef GZ_TIME_H 00030 #define GZ_TIME_H 00031 00032 #include "playertime.h" 00033 00034 00035 // Incremental navigation driver 00036 class GzTime : public PlayerTime 00037 { 00038 // Constructor 00039 public: GzTime(); 00040 00041 // Destructor 00042 public: virtual ~GzTime(); 00043 00044 // Get the simulator time 00045 public: int GetTime(struct timeval* time); 00046 00047 // Pointer to the simulator interface 00048 private: gz_sim_t *sim; 00049 }; 00050 00051 #endif Generated on Tue May 3 14:15:34 2005 for Player by 1.3.6 |