VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 "vrfMetocDefines.h"
15 
16 namespace makVrfMetoc {
17 
19 
25 {
26 public:
27 
30  DtExerciseConn* exConn,
31  DtObjClassDesc* classDesc);
32 
34  virtual ~DtWeatherEncoder();
35 
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 } //end makVrfMetoc
137 
138 #endif
#define DT_DLL_METOC
This file is used to determine how to build.
Definition: vrfMetocDefines.h:21
Instances of DtWeatherStateRepository are used to store state data for METOC_Root.EnvironmentCondition.Weather objects.
Definition: weatherStateRepository.h:33
void encodeTemperature(const DtEntityStateRepWithTemperature &stateRep, RTI::AttributeHandleValuePairSet *avList, RTI::AttributeHandle handle)
This repository holds all information that is common to all the forms of all objects within VR-Forces...
Definition: weatherStateRepository.h:20
Contains the DtEnvironmentConditionEncoder class declaration.
Instances of DtEnvironmentConditionEncoder encode data from DtEnvironmentConditionStateRepository obj...
Definition: environmentConditionEncoderHLA.h:24
bool needTemperature(const DtEntityStateRepWithTemperature &stateRep, const DtEntityStateRepWithTemperature &asSeenByRemote)
Instances of DtWeatherEncoder encode data from DtWeatherStateRepository objects to the net structures...
Definition: weatherEncoderHLA.h:24

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)