readlog_time.h
1/*
2 * Player - One Hell of a Robot Server
3 * Copyright (C) 2000
4 * Brian Gerkey, Kasper Stoy, Richard Vaughan, & Andrew Howard
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 */
22//
23// Desc: Log file time
24// Author: Andrew Howard
25// Date: 28 May 2003
26// CVS: $Id$
27//
29
30#ifndef READLOG_TIME_H
31#define READLOG_TIME_H
32
33#include <libplayercore/playertime.h>
34
35// Incremental navigation driver
36class ReadLogTime : public PlayerTime
37{
38 // Constructor
39 public: ReadLogTime();
40
41 // Destructor
42 public: virtual ~ReadLogTime();
43
44 // Get the current time
45 public: int GetTime(struct timeval* time);
46
47 // Get the current time
48 public: int GetTimeDouble(double* time);
49};
50
51
52// Some readlog related global vars
53extern struct timeval ReadLogTime_time;
54extern double ReadLogTime_timeDouble;
55
56#endif
Definition readlog_time.h:37