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) 1992-2026 MAK Technologies, Inc
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 #include <vl/stateMsg.h>
20 
24 class DT_DLL_VL DtEntityStateDecoder : public DtStateDecoder
25 {
26 public:
27 
29  DtEntityStateDecoder( DtExerciseConn* exConn );
30 
32  DtEntityStateDecoder( const DtEntityStateDecoder& orig );
33 
35  virtual ~DtEntityStateDecoder();
36 
38  DtEntityStateDecoder& operator = ( const DtEntityStateDecoder& orig );
39 
41  virtual void decode( const DtEntityStatePdu& pdu,
42  DtEntityStateRepository* stateRep );
43 
45  virtual void decodeEntityStateUpdate( const DtEntityStateUpdatePdu& pdu,
46  DtEntityStateRepository* stateRep );
47 
49  virtual void decodeSees( const DtSuppEmisEntStatePdu& pdu,
50  DtEntityStateRepository* stateRep );
51 
53  virtual void decodeAttributeRecords(
54  const DtPduWithAttributeRecordSets& pdu,
55  DtStateRepository* stateRep);
56 
58  virtual void decodeMakAttributeRecords(const DtAttributeRecordSet& recordSet,
59  DtEntityStateRepository* stateRep);
60 
62  virtual void decodeNetnAttributeRecords(const DtPduWithAttributeRecordSets& pdu ,const DtAttributeRecordSet& recordSet,
63  DtEntityStateRepository* stateRep);
64 
65  DtCLONE_DECODER( DtEntityStateDecoder );
66 
68 
69  virtual void setDecodeDiGuyAttributes(bool enableDecode);
70  virtual bool isDecodeDiGuyAttributes() const;
72 
74 
75  virtual void setDecodeNetnAttributes(bool enableDecode);
76  virtual bool isDecodeNetnAttributes() const;
78 
79 protected:
80 
84  virtual void decodeAttachedParts(
85  const DtEntityStatePdu& pdu,
86  DtEntityStateRepository* stateRep );
87 
88 
89 protected:
90 
91  bool myDecodeDiGuyAttributes;
92  bool myDecodeNetnAttributes;
93  DtEntityStateRepository* myStateRep;
94 
95 };
96 
97 #endif // DtDIS
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:120
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:42
DtStateRepository is an abstract base class for maintaining state for an object.
Definition: stateRepository.h:50
Definition: attributeRecordSet.h:11
Contains the DtEntityStateRepository class declaration.
Contains classes, constants and macros which provide a wrapper around the Entity State PDU defined in...

Document ID: Generated on Mon Sep 28 00:09:32 EDT 2026 from SVN revision 295353
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)