VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
hlaLogicalTimeInterval.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2015 MAK Technologies, Inc
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 #ifndef DtHLA_1516
16 //HLA 1.3 has no interval defined, just time.
17 #define LogicalTimeInterval FedTime
18 #endif
19 
20 #include "vl/rtiNamespace.h"
21 
28 {
29 public:
33  DtHlaLogicalTimeInterval& operator=(const DtHlaLogicalTimeInterval& orig);
34  DtHlaLogicalTimeInterval& operator=(const RTI::LogicalTimeInterval& orig);
35 
37 
38  virtual void setHlaLogicalTimeInterval(const RTI::LogicalTimeInterval& val);
39  virtual const RTI::LogicalTimeInterval& hlaLogicalTimeInterval() const;
40  virtual DtString hlaLogicalTimeIntervalString() const;
41 
42  bool operator==(const DtHlaLogicalTimeInterval& other) const;
43  bool operator!=(const DtHlaLogicalTimeInterval& other) const;
44 
45  int netSize() const;
46  static int octetBoundary();
47  unsigned int getPaddingSize(unsigned int byteOffset, unsigned int boundary, unsigned int hint = 1) const;
48 
49  void writeToBuffer( char* buffer ) const;
50  void fillFromBuffer( const char* buffer, int bufferSize, int offset );
51 
52  virtual void printData() const;
53 
54  virtual void printDataToStream(std::ostream &) const;
55 
56 protected:
57 
59 };
60 
61 DT_DLL_VL std::ostream& operator<<(std::ostream& stream, const DtHlaLogicalTimeInterval&);
62 
63 #endif //DtHLA_1516
const bool operator==(const DtU128 &lhs, const DtU128 &rhs)
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Contains the DtString class declaration.
std::ostream & operator<<(std::ostream &os, const Dt3dChord &chord)
RTI::LogicalTimeInterval * myHlaLogicalTimeInterval
Definition: hlaLogicalTimeInterval.h:58
This file declares DtVector and DtVector32.
#define LogicalTimeInterval
Definition: hlaLogicalTimeInterval.h:17
const bool operator!=(const DtU128 &lhs, const DtU128 &rhs)
DtHlaLogicalTimeInterval objects are strings with time information based on the HLA Standard...
Definition: hlaLogicalTimeInterval.h:27
Instances of DtString are used to represent strings.
Definition: vlString.h:29
This file contains typedefs for machine dependant types.

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)