VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
turbulenceLayerRecord.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vl/metocLayerRecord.h>
14 #include <vl/layerStruct.h>
15 
16 
18 {
19 public:
22 
25 
27  DtTurbulenceLayerRecord(void* netBuffer, unsigned int size);
28 
31 
34 
36  virtual bool operator==(const DtTurbulenceLayerRecord& record);
37 
39  virtual bool operator==(const DtStandardVariableRecord& other);
40 
42  virtual void setTurbulenceIntensityLevel(const DtTurbulenceIntensityLevelEnum8& level);
44  virtual const DtTurbulenceIntensityLevelEnum8 turbulenceIntensityLevel() const;
45 
46  // Writes the network representation to the given address.
47  // The assumption is that this memory is allocated and is of the proper size.
48  virtual void writeRecord(void* addr) const;
49 
52  virtual void setFromNet(const void* netRecord, unsigned int length, DtStandardVariableRetCode* retCode = NULL);
53 
55  virtual void printDataToStream(std::ostream& stream) const;
56 
58  virtual unsigned int unpaddedNetsize() const;
59 
61  virtual unsigned int paddedNetSize() const;
62 
64  virtual DtStandardVariableRecord* clone() const;
65 
66 public:
68  static DtStandardVariableRecord* create(void* addr, unsigned int length);
69 
71  static unsigned int recordTypeToUse();
72 
74  static void setRecordTypeToUse(unsigned int typeToUse);
75 
76 protected:
78 
79 protected:
80  static const unsigned int theMinimumSize;
81 
82 };
83 
virtual unsigned int unpaddedNetsize() const
This is the network size of the record without padding.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
static DtStandardVariableRecord * create(void *addr, unsigned int length)
Creator of an unknown record for registering in a factory.
Definition: turbulenceLayerRecord.h:17
DtTurbulenceIntensityLevelEnum8
Definition: metocEnums.h:154
Definition: metocLayerRecord.h:12
static unsigned int recordTypeToUse()
Return the METOC Layer record type.
virtual DtStandardVariableRecord * clone() const
Clone.
This file declares DtNetTurbulenceLayerRecord.
DtNetTurbulenceLayerRecord * myRecordPtr
Definition: turbulenceLayerRecord.h:77
virtual void setFromNet(const void *netRecord, unsigned int length, DtStandardVariableRetCode *retCode=NULL)
Sets the record from an address and length.
virtual bool operator==(const DtMetocLayerRecord &record)
Equals Operator.
virtual DtMetocLayerRecord & operator=(const DtMetocLayerRecord &record)
Assignment Operator.
Definition: turbulenceLayerRecordP.h:17
Definition: standardVariableRecord.h:23
DtStandardVariableRetCode
Definition: standardVariableRecord.h:15
static const unsigned int theMinimumSize
Definition: turbulenceLayerRecord.h:80
virtual void writeRecord(void *addr) const
virtual void printDataToStream(std::ostream &stream) const
Prints the data to the specified stream.
static void setRecordTypeToUse(unsigned int typeToUse)
Set the record type to use.

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)