VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
entityStateDecoder.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2014 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtDIS
13 
14 #include <vl/stateDecoder.h>
15 #include <vl/entityStatePdu.h>
16 #include <vl/suppEmisEntStatePdu.h>
19 
23 class DT_DLL_VL DtEntityStateDecoder : public DtStateDecoder
24 {
25 public:
26 
28  DtEntityStateDecoder( DtExerciseConn* exConn );
29 
31  DtEntityStateDecoder( const DtEntityStateDecoder& orig );
32 
34  virtual ~DtEntityStateDecoder();
35 
37  DtEntityStateDecoder& operator = ( const DtEntityStateDecoder& orig );
38 
40  virtual void decode( const DtEntityStatePdu& pdu,
41  DtEntityStateRepository* stateRep );
42 
44  virtual void decodeEntityStateUpdate( const DtEntityStateUpdatePdu& pdu,
45  DtEntityStateRepository* stateRep );
46 
48  virtual void decodeSees( const DtSuppEmisEntStatePdu& pdu,
49  DtEntityStateRepository* stateRep );
50 
52  virtual void decodeAttributeRecords(
53  const DtPduWithAttributeRecordSets& pdu,
54  DtStateRepository* stateRep);
55 
56 
57  DtCLONE_DECODER( DtEntityStateDecoder );
58 
60 
61  virtual void setDecodeDiGuyAttributes(bool enableDecode);
62  virtual bool isDecodeDiGuyAttributes() const;
64 
65 protected:
66 
70  virtual void decodeAttachedParts(
71  const DtEntityStatePdu& pdu,
72  DtEntityStateRepository* stateRep );
73 
74 
75 protected:
76 
77  bool myDecodeDiGuyAttributes;
78 
79 };
80 
81 #endif // DtDIS

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)