VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
diGuyObjectEncoderHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2013 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
11 #if DtHLA
12 
13 #include <vl/hlaStateEncoder.h>
14 
15 
17 
22 class DT_DLL_VL DtDIGuyObjectEncoder : public DtHlaStateEncoder
23 {
24 public:
25 
27  DtDIGuyObjectEncoder(
28  DtExerciseConn* exConn,
29  DtObjClassDesc* classDesc);
30 
32  virtual ~DtDIGuyObjectEncoder();
33 
35  DtDIGuyObjectEncoder(const DtDIGuyObjectEncoder& orig);
36 
38  DtDIGuyObjectEncoder& operator=(const DtDIGuyObjectEncoder& orig);
39 
40 public:
42  static DtHlaStateEncoder* create(
43  DtExerciseConn* exConn,
44  DtObjClassDesc* classDesc);
45 
46 protected:
47 
50  static bool needEntityIdentifier(
51  const DtDIGuyObjectStateRepository& stateRep,
52  const DtDIGuyObjectStateRepository& asSeenByRemote);
53 
55  static void encodeEntityIdentifier(
57  RTI::AttributeHandleValuePairSet* attrs,
58  RTI::AttributeHandle attrHandle);
59 
62  static bool needObjectIdentifier(
63  const DtDIGuyObjectStateRepository& stateRep,
64  const DtDIGuyObjectStateRepository& asSeenByRemote);
65 
67  static void encodeObjectIdentifier(
69  RTI::AttributeHandleValuePairSet* attrs,
70  RTI::AttributeHandle attrHandle);
71 
74  static bool needDIGuyType(
75  const DtDIGuyObjectStateRepository& stateRep,
76  const DtDIGuyObjectStateRepository& asSeenByRemote);
77 
79  static void encodeDIGuyType(
81  RTI::AttributeHandleValuePairSet* attrs,
82  RTI::AttributeHandle attrHandle);
83 
86  static bool needDIGuyAppearance(
87  const DtDIGuyObjectStateRepository& stateRep,
88  const DtDIGuyObjectStateRepository& asSeenByRemote);
89 
91  static void encodeDIGuyAppearance(
93  RTI::AttributeHandleValuePairSet* attrs,
94  RTI::AttributeHandle attrHandle);
95 
98  static bool needDIGuyAction(
99  const DtDIGuyObjectStateRepository& stateRep,
100  const DtDIGuyObjectStateRepository& asSeenByRemote);
101 
103  static void encodeDIGuyAction(
104  const DtDIGuyObjectStateRepository& rep,
105  RTI::AttributeHandleValuePairSet* attrs,
106  RTI::AttributeHandle attrHandle);
107 
110  static bool needDIGuyVisible(
111  const DtDIGuyObjectStateRepository& stateRep,
112  const DtDIGuyObjectStateRepository& asSeenByRemote);
113 
115  static void encodeDIGuyVisible(
116  const DtDIGuyObjectStateRepository& rep,
117  RTI::AttributeHandleValuePairSet* attrs,
118  RTI::AttributeHandle attrHandle);
119 
122  static bool needDIGuyShapeVariation(
123  const DtDIGuyObjectStateRepository& stateRep,
124  const DtDIGuyObjectStateRepository& asSeenByRemote);
125 
127  static void encodeDIGuyShapeVariation(
128  const DtDIGuyObjectStateRepository& rep,
129  RTI::AttributeHandleValuePairSet* attrs,
130  RTI::AttributeHandle attrHandle);
131 
134  static bool needDIGuyCharacterScale(
135  const DtDIGuyObjectStateRepository& stateRep,
136  const DtDIGuyObjectStateRepository& asSeenByRemote);
137 
139  static void encodeDIGuyCharacterScale(
140  const DtDIGuyObjectStateRepository& rep,
141  RTI::AttributeHandleValuePairSet* attrs,
142  RTI::AttributeHandle attrHandle);
143 
146  static bool needDIGuyBodyWeight(
147  const DtDIGuyObjectStateRepository& stateRep,
148  const DtDIGuyObjectStateRepository& asSeenByRemote);
149 
151  static void encodeDIGuyBodyWeight(
152  const DtDIGuyObjectStateRepository& rep,
153  RTI::AttributeHandleValuePairSet* attrs,
154  RTI::AttributeHandle attrHandle);
155 
157  static void encodeDIGuyPatches(
158  const DtDIGuyObjectStateRepository& stateRep,
159  RTI::AttributeHandleValuePairSet* avList,
160  RTI::AttributeHandle handle );
161 
164  static bool needDIGuyPatches(
165  const DtDIGuyObjectStateRepository& stateRep,
166  const DtDIGuyObjectStateRepository& asSeenByRemote );
167 
168 };
169 
170 
171 
172 #endif
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file contains the declaration of DtHlaStateEncoder.
Instances of DtDIGuyObjectStateRepository are used to store state data for DIGuyObject objects...
Definition: diGuyObjectStateRepository.h:27

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)