VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simClock.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: vlClock.h,v $ $Revision: 1.9 $ $State: Exp $
7 *******************************************************************************/
12 
15 
16 
17 #ifndef DtSimClock_H_
18 #define DtSimClock_H_
19 
20 #include <vlutil/vlTime.h>
21 #include <vlutil/vlString.h>
22 
23 class DtRwReal;
24 
25 typedef DtRwReal DtRwTime;
29 #include "vrfutil/vrfutilDefines.h"
31 {
32 public:
33 
34  DtSimClock();
35  DtSimClock(const DtSimClock &orig);
36  DtSimClock & operator=(const DtSimClock &orig);
37  virtual ~DtSimClock();
38 
40  static DtTime stringToSeconds(const DtString& timeString);
41 
42  static DtString & secondsToElapsedTimeString(DtTime seconds,
43  DtString &strBuffer);
44 
45  static DtString & secondsToExerciseTimeString(DtTime seconds,
46  DtString &strBuffer);
47 
48  static void secondsToDaysHoursMinutesSeconds(DtTime secondsInput, int & days,
49  int & hours, int & minutes, DtTime & seconds);
50 
51  static DtTime daysHoursMinutesSecondsToSeconds(DtTime days, DtTime hours,
52  DtTime minutes, DtTime seconds);
53 
54  static bool processElapsedTimeString(const char *input,
55  int& numDigitsFound, int& value1,int& value2,int& value3,int& value4);
56 
57 };
58 
59 
60 
61 #endif
62 
Description: Adds some useful time related routines to VR-Link&#39;s DtClock.
Definition: simClock.h:30
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwReal DtRwTime
Definition: exerciseClock.h:32
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)