VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
extDiGuyObjectEncoderHLA.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 
16 #include <vl/diGuyObjectStateRepository.h>
17 #include <vl/diGuyObjectEncoderHLA.h>
18 
20 {
21 public:
22 
25  DtExerciseConn* exConn,
26  DtObjClassDesc* classDesc);
27 
29  virtual ~DtExtDIGuyObjectEncoder();
30 
33 
34  DtExtDIGuyObjectEncoder& operator=(const DtExtDIGuyObjectEncoder& orig);
35 
36 public:
37 
38  static void setupReplacementEncoders(DtDIGuyObjectEncoder *baseEncoder);
39 
40 protected:
41 
44  static bool needDIGuyAppearance(
45  const DtDIGuyObjectStateRepository& stateRep,
46  const DtDIGuyObjectStateRepository& asSeenByRemote);
47 
49  static void encodeDIGuyAppearance(
51  RTI::AttributeHandleValuePairSet* attrs,
52  RTI::AttributeHandle attrHandle);
53 
56  static bool needDIGuyBodyWeight(
57  const DtDIGuyObjectStateRepository& stateRep,
58  const DtDIGuyObjectStateRepository& asSeenByRemote);
59 
61  static void encodeDIGuyBodyWeight(
63  RTI::AttributeHandleValuePairSet* attrs,
64  RTI::AttributeHandle attrHandle);
65 
66 };
67 
68 #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)