VR-Forces 4.1 Class Documentation
vlClock.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"
30 class DT_DLL_vrfutil DtSimClock : public DtClock
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 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)