VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
extDiGuyObjectEncoderHLA.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 
15 #include <vl/diGuyObjectEncoderHLA.h>
16 #include <vl/diGuyObjectStateRepository.h>
17 
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  static void setupReplacementEncoders(DtDIGuyObjectEncoder *baseEncoder);
38 
39 protected:
40 
43  static bool needDIGuyAppearance(
44  const DtDIGuyObjectStateRepository& stateRep,
45  const DtDIGuyObjectStateRepository& asSeenByRemote);
46 
48  static void encodeDIGuyAppearance(
50  RTI::AttributeHandleValuePairSet* attrs,
51  RTI::AttributeHandle attrHandle);
52 
55  static bool needDIGuyBodyWeight(
56  const DtDIGuyObjectStateRepository& stateRep,
57  const DtDIGuyObjectStateRepository& asSeenByRemote);
58 
60  static void encodeDIGuyBodyWeight(
62  RTI::AttributeHandleValuePairSet* attrs,
63  RTI::AttributeHandle attrHandle);
64 
65 };
66 
67 
68 
69 #endif

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)