VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dynamicTerrainEncoderDIS.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
10 
11 #pragma once
12 
13 #if DtDIS
14 
15 #include <vl/stateEncoder.h>
17 
18 
19 
22 
23 
29 {
30 public:
31 
34 
36  virtual ~DtDynamicTerrainEncoder();
37 
40 
42  DtDynamicTerrainEncoder& operator=(const DtDynamicTerrainEncoder& orig);
43 
44  DtCLONE_ENCODER(DtDynamicTerrainEncoder)
45 
46 public:
47 
49  virtual void encode( DtPdu* pdu );
50 
54  virtual DtDynamicTerrainPdu* stateMsg(
55  const DtDynamicTerrainStateRepository& stateRep,
56  const DtDynamicTerrainStateRepository& asSeenByRemote);
57 
61 
62  static void setUseFullComparison(bool useFull);
63  static bool useFullComparison();
65 
66 protected:
67 
68  virtual bool sendNeeded(
69  const DtDynamicTerrainStateRepository& stateRep,
70  const DtDynamicTerrainStateRepository& asSeenByRemote);
71 
72  virtual void fillOut(
73  const DtDynamicTerrainStateRepository& stateRep,
74  const DtDynamicTerrainStateRepository& asSeenByRemote,
75  DtDynamicTerrainPdu* pdu);
76 
77 protected:
79 
80  static bool theUseFullComparison;
81 };
82 
83 
84 
85 #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)