VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
subsurfaceLayerEncoderHLA.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 
18 class DtSubsurfaceLayerStateRepository;
19 
25 {
26 public:
27 
30  DtExerciseConn* exConn,
31  DtObjClassDesc* classDesc);
32 
34  virtual ~DtSubsurfaceLayerEncoder();
35 
38 
40  DtSubsurfaceLayerEncoder& operator=(const DtSubsurfaceLayerEncoder& orig);
41 
42 public:
44  static DtHlaStateEncoder* create(
45  DtExerciseConn* exConn,
46  DtObjClassDesc* classDesc);
47 
48 protected:
49 
52  static bool needTemperature(
53  const DtSubsurfaceLayerStateRepository& stateRep,
54  const DtSubsurfaceLayerStateRepository& asSeenByRemote);
55 
57  static void encodeTemperature(
59  RTI::AttributeHandleValuePairSet* attrs,
60  RTI::AttributeHandle attrHandle);
61 
64  static bool needLayer(
65  const DtSubsurfaceLayerStateRepository& stateRep,
66  const DtSubsurfaceLayerStateRepository& asSeenByRemote);
67 
69  static void encodeLayer(
71  RTI::AttributeHandleValuePairSet* attrs,
72  RTI::AttributeHandle attrHandle);
73 
76  static bool needCurrent(
77  const DtSubsurfaceLayerStateRepository& stateRep,
78  const DtSubsurfaceLayerStateRepository& asSeenByRemote);
79 
81  static void encodeCurrent(
83  RTI::AttributeHandleValuePairSet* attrs,
84  RTI::AttributeHandle attrHandle);
85 
88  static bool needSalinity(
89  const DtSubsurfaceLayerStateRepository& stateRep,
90  const DtSubsurfaceLayerStateRepository& asSeenByRemote);
91 
93  static void encodeSalinity(
95  RTI::AttributeHandleValuePairSet* attrs,
96  RTI::AttributeHandle attrHandle);
97 
100  static bool needBottomType(
101  const DtSubsurfaceLayerStateRepository& stateRep,
102  const DtSubsurfaceLayerStateRepository& asSeenByRemote);
103 
105  static void encodeBottomType(
107  RTI::AttributeHandleValuePairSet* attrs,
108  RTI::AttributeHandle attrHandle);
109 
110 };
111 
112 } //end makVrfMetoc
113 
114 #endif
#define DT_DLL_METOC
This file is used to determine how to build.
Definition: vrfMetocDefines.h:21
Instances of DtSubsurfaceLayerEncoder encode data from DtSubsurfaceLayerStateRepository objects to th...
Definition: subsurfaceLayerEncoderHLA.h:24
void encodeTemperature(const DtEntityStateRepWithTemperature &stateRep, RTI::AttributeHandleValuePairSet *avList, RTI::AttributeHandle handle)
Contains the DtEnvironmentConditionEncoder class declaration.
Instances of DtSubsurfaceLayerStateRepository are used to store state data for METOC_Root.EnvironmentCondition.SubsurfaceLayer objects.
Definition: subsurfaceLayerStateRepository.h:32
Instances of DtEnvironmentConditionEncoder encode data from DtEnvironmentConditionStateRepository obj...
Definition: environmentConditionEncoderHLA.h:24
bool needTemperature(const DtEntityStateRepWithTemperature &stateRep, const DtEntityStateRepWithTemperature &asSeenByRemote)

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)