VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
hlaLogicalTime.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2015 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #pragma once
7 
8 #ifdef DtHLA
9 
10 #include <vlutil/vlMachineTypes.h>
11 #include <matrix/vlVector.h>
12 #include <vlutil/vlString.h>
13 #include <vector>
14 
15 #include "vl/rtiNamespace.h"
16 
17 #ifndef DtHLA_1516
18 #define LogicalTime FedTime
19 #endif
20 
27 {
28 public:
32  DtHlaLogicalTime& operator=(const DtHlaLogicalTime& orig);
33  DtHlaLogicalTime& operator=(const RTI::LogicalTime& orig);
34 
36 
37  virtual void setHlaLogicalTime(const RTI::LogicalTime& val);
38  virtual const RTI::LogicalTime& hlaLogicalTime() const;
39  virtual DtString hlaLogicalTimeString() const;
40 
41  bool operator==(const DtHlaLogicalTime& other) const;
42  bool operator!=(const DtHlaLogicalTime& other) const;
43 
44  int netSize() const;
45  static int octetBoundary();
46  unsigned int getPaddingSize(unsigned int byteOffset, unsigned int boundary, unsigned int hint = 1) const;
47 
48  void writeToBuffer( char* buffer ) const;
49  void fillFromBuffer( const char* buffer, int bufferSize, int offset );
50 
51  virtual void printData() const;
52 
53  virtual void printDataToStream(std::ostream &) const;
54 
55 protected:
56 
58 };
59 
60 DT_DLL_VL std::ostream& operator<<(std::ostream& stream, const DtHlaLogicalTime&);
61 
62 #endif //DtHLA

Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)