VR-Forces Developer's Guide
 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) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 // This class isn't used for anything at the moment, but is being left in makVrfVrlExt in case it
13 // is needed in the future. The class should only be enabled if something *REALLY* needs to be
14 // added at the makVrfVrlExt level and should be carefully tracked so it is removed once the
15 // logic makes it into VR-Link so the stale logic doesn't end up causing bugs in VRV/VRF *AGAIN*.
16 #define MAKVRFVRLEXT_USE_EXT_DIGUY_OBJECT_ENCODER_HLA 0
17 #if MAKVRFVRLEXT_USE_EXT_DIGUY_OBJECT_ENCODER_HLA
18 
19 #if DtHLA
20 
23 #include <vl/diGuyObjectEncoderHLA.h>
24 
25 class DT_DLL_vrfExtObjects DtExtDIGuyObjectEncoder : public DtDIGuyObjectEncoder
26 {
27 public:
28 
30  DtExtDIGuyObjectEncoder( DtExerciseConn* exConn, DtObjClassDesc* classDesc );
31 
33  virtual ~DtExtDIGuyObjectEncoder();
34 
36  DtExtDIGuyObjectEncoder( const DtExtDIGuyObjectEncoder& orig );
37 
38  DtExtDIGuyObjectEncoder& operator = ( const DtExtDIGuyObjectEncoder& orig );
39 
40 public:
41 
42  static void setupReplacementEncoders( DtDIGuyObjectEncoder* baseEncoder );
43 
44 protected:
45 
47  static bool needDIGuyNewAttribute( const DtDIGuyObjectStateRepository& stateRep,
48  const DtDIGuyObjectStateRepository& asSeenByRemote );
49 
51  static void encodeDIGuyNewAttribute( const DtDIGuyObjectStateRepository& rep,
52  RTI::AttributeHandleValuePairSet* attrs, RTI::AttributeHandle attrHandle );
53 
54 };
55 
56 #endif // DtHLA
57 #endif // MAKVRFVRLEXT_USE_EXT_DIGUY_OBJECT_ENCODER_HLA
Contains the DtExtDiGuyStateRepository class declaration.
#define DT_DLL_vrfExtObjects
Definition: dllExport.h:23

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)