VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
weatherEncoderHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 **This file was generated by MAK Technologies' VR-Link Code Generator.
3 **hobjEncHeader.tlt
4 *********************************************************************/
5 
8 
9 #pragma once
10 
11 #if DtHLA
12 
14 #include <vlutil/vlMachineTypes.h>
15 
16 
17 
19 
24 class DT_DLL_VL DtWeatherEncoder : public DtEnvironmentConditionEncoder
25 {
26 public:
27 
29  DtWeatherEncoder(
30  DtExerciseConn* exConn,
31  DtObjClassDesc* classDesc);
32 
34  virtual ~DtWeatherEncoder();
35 
37  DtWeatherEncoder(const DtWeatherEncoder& orig);
38 
40  DtWeatherEncoder& operator=(const DtWeatherEncoder& orig);
41 
42 public:
44  static DtHlaStateEncoder* create(
45  DtExerciseConn* exConn,
46  DtObjClassDesc* classDesc);
47 
48 protected:
49 
52  static bool needTemperature(
53  const DtWeatherStateRepository& stateRep,
54  const DtWeatherStateRepository& asSeenByRemote);
55 
57  static void encodeTemperature(
58  const DtWeatherStateRepository& rep,
59  RTI::AttributeHandleValuePairSet* attrs,
60  RTI::AttributeHandle attrHandle);
61 
64  static bool needWind(
65  const DtWeatherStateRepository& stateRep,
66  const DtWeatherStateRepository& asSeenByRemote);
67 
69  static void encodeWind(
70  const DtWeatherStateRepository& rep,
71  RTI::AttributeHandleValuePairSet* attrs,
72  RTI::AttributeHandle attrHandle);
73 
76  static bool needPrecipitation(
77  const DtWeatherStateRepository& stateRep,
78  const DtWeatherStateRepository& asSeenByRemote);
79 
81  static void encodePrecipitation(
82  const DtWeatherStateRepository& rep,
83  RTI::AttributeHandleValuePairSet* attrs,
84  RTI::AttributeHandle attrHandle);
85 
88  static bool needHaze(
89  const DtWeatherStateRepository& stateRep,
90  const DtWeatherStateRepository& asSeenByRemote);
91 
93  static void encodeHaze(
94  const DtWeatherStateRepository& rep,
95  RTI::AttributeHandleValuePairSet* attrs,
96  RTI::AttributeHandle attrHandle);
97 
100  static bool needHumidity(
101  const DtWeatherStateRepository& stateRep,
102  const DtWeatherStateRepository& asSeenByRemote);
103 
105  static void encodeHumidity(
106  const DtWeatherStateRepository& rep,
107  RTI::AttributeHandleValuePairSet* attrs,
108  RTI::AttributeHandle attrHandle);
109 
112  static bool needBarometricPressure(
113  const DtWeatherStateRepository& stateRep,
114  const DtWeatherStateRepository& asSeenByRemote);
115 
117  static void encodeBarometricPressure(
118  const DtWeatherStateRepository& rep,
119  RTI::AttributeHandleValuePairSet* attrs,
120  RTI::AttributeHandle attrHandle);
121 
124  static bool needVisibilityRange(
125  const DtWeatherStateRepository& stateRep,
126  const DtWeatherStateRepository& asSeenByRemote);
127 
129  static void encodeVisibilityRange(
130  const DtWeatherStateRepository& rep,
131  RTI::AttributeHandleValuePairSet* attrs,
132  RTI::AttributeHandle attrHandle);
133 
134 };
135 
136 
137 
138 #endif
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtWeatherStateRepository are used to store state data for METOC_Root.EnvironmentCondition.Weather objects.
Definition: weatherStateRepository.h:33
Contains the DtEnvironmentConditionEncoder class declaration.
This file contains typedefs for machine dependant types.

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)