VR-Forces 4.8 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) 2019 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 
68  static bool needDIGuyAction(
69  const DtDIGuyObjectStateRepository& stateRep,
70  const DtDIGuyObjectStateRepository& asSeenByRemote);
71 
73  static void encodeDIGuyAction(
75  RTI::AttributeHandleValuePairSet* attrs,
76  RTI::AttributeHandle attrHandle);
77 
78 };
79 
80 #endif // DtHLA
Contains makVrv::DtExtDiGuyStateRepository class.
Definition: extDiGuyObjectEncoderHLA.h:19
#define DT_DLL_vrfExtObjects
Definition: dllExport.h:23

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)