VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
layerStruct.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #pragma once
7 
8 #include <matrix/vlVector.h>
9 
11 #include <vlpi/metocEnums.h>
12 #include <vlpi/entityType.h>
13 #include <vlpi/entityIdentifier.h>
14 #include <vlutil/vlMachineTypes.h>
15 #include <vlutil/vlString.h>
16 
17 #include <vector>
18 
19 
21 
22 
25 {
26 public:
27  DtLayerStruct();
28  ~DtLayerStruct();
29  DtLayerStruct(const DtLayerStruct& orig);
30  DtLayerStruct(const DtNetLayerStruct& orig);
31  DtLayerStruct& operator=(const DtLayerStruct& orig);
32  DtLayerStruct& operator=(const DtNetLayerStruct& orig);
33 
34  virtual void setBase(const DtFloat32& val);
35  virtual const DtFloat32& base() const;
36  virtual void setThickness(const DtFloat32& val);
37  virtual const DtFloat32& thickness() const;
38 
39  bool operator==(const DtLayerStruct& other) const;
40  bool operator!=(const DtLayerStruct& other) const;
41 
42  int netSize() const;
43  static int octetBoundary();
44  unsigned int getPaddingSize(unsigned long long byteOffset, unsigned int boundary) const;
45 
46  void writeToBuffer( char* buffer ) const;
47  void fillFromBuffer( const char* buffer, int bufferSize, int offset );
48 
49  virtual void printData() const;
50  virtual void printDataToStream(std::ostream &) const;
51 
52 protected:
55 
56 };
57 
58 DT_DLL_VL std::ostream& operator<<(std::ostream& stream, const DtLayerStruct&);
59 
Contains the DtEntityIdentifier class declaration.
const bool operator==(const DtU128 &lhs, const DtU128 &rhs)
DtFloat32 myBase
Definition: layerStruct.h:53
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Contains the DtString class declaration.
Contains the DtEntityType and DtRadioEntityType class declarations.
Definition: layerStruct.h:24
std::ostream & operator<<(std::ostream &os, const Dt3dChord &chord)
This file contains typedefs used to represent objects in a protocol neutral way.
This file declares DtVector and DtVector32.
const bool operator!=(const DtU128 &lhs, const DtU128 &rhs)
DtFloat32 myThickness
Definition: layerStruct.h:54
Definition: netStructs.h:345
This file contains typedefs for machine dependant types.

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)