VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
extendedAttributesObjectEncoderHLA.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2017 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
15 #include <vl/hlaStateEncoder.h>
16 
17 namespace makVrfVrlinkExtToolkit
18 {
19 
20  class DtExtendedAttributesObjectStateRepository;
21 
27  {
28  public:
29 
31  static DtHlaStateEncoder* create(
32  DtExerciseConn* exConn,
33  DtObjClassDesc* classDesc);
34 
37  DtExerciseConn* exConn,
38  DtObjClassDesc* classDesc);
39 
42 
45 
48 
49  protected:
50 
53  static bool needEntityIdentifier(
55  const DtExtendedAttributesObjectStateRepository& asSeenByRemote);
56 
58  static void encodeEntityIdentifier(
60  RTI::AttributeHandleValuePairSet* attrs,
61  RTI::AttributeHandle attrHandle);
62 
65  static bool needObjectIdentifier(
67  const DtExtendedAttributesObjectStateRepository& asSeenByRemote);
68 
70  static void encodeObjectIdentifier(
72  RTI::AttributeHandleValuePairSet* attrs,
73  RTI::AttributeHandle attrHandle);
74 
77  static bool needExtendedAttributes(
79  const DtExtendedAttributesObjectStateRepository& asSeenByRemote);
80 
82  static void encodeExtendedAttributes(
84  RTI::AttributeHandleValuePairSet* attrs,
85  RTI::AttributeHandle attrHandle);
86 
91  static bool needOtherExtendedAttribute(
93  const DtExtendedAttributesObjectStateRepository& asSeenByRemote,
94  RTI::AttributeHandle attrHandle);
95 
99  static void encodeOtherExtendedAttribute(
101  RTI::AttributeHandleValuePairSet* attrs,
102  RTI::AttributeHandle attrHandle);
103 
104  };
105 
106 }
107 
108 #endif // DtHLA

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)