VR-Link API Documentation for DIS
vlNetTimeStamp.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
8 #pragma once
9 
10 #include "vlTime.h"
11 #include "vlTimeStampType.h"
12 #include "vlNetTypes.h"
13 
14 #ifdef DtUSE_UTILITIES_NAMESPACE
15 namespace DtUSE_UTILITIES_NAMESPACE
16 {
17 #endif
18 
19 
22 
29 {
30 public:
31 
35 
38  DtNetTimeStamp(DtTime time,
40 
42  ~DtNetTimeStamp();
43 
45  DtNetTimeStamp(const DtNetTimeStamp& orig);
46 
48  DtNetTimeStamp& operator=(const DtNetTimeStamp& orig);
49 
53  operator DtU32 () const;
54 
57  DtTime time() const;
58 
61  void setTime(DtTime time);
62 
64  void setType(DtTimeStampType type);
65  DtTimeStampType type() const;
66 
67 protected:
68 
70 
71 protected:
72 
73  static const double theHourFracPerHour;
74  static const double theHourPerHourFrac;
75 };
76 
77 #ifdef DtUSE_UTILITIES_NAMESPACE
78 }
79 #endif
80 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)