VR-Link API Documentation for HLA 1516
 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 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 
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 
57  virtual void decodeMakAttributeRecords(const DtAttributeRecordSet& recordSet,
58  DtEntityStateRepository* stateRep);
59 
61  virtual void decodeNetnAttributeRecords(const DtPduWithAttributeRecordSets& pdu ,const DtAttributeRecordSet& recordSet,
62  DtEntityStateRepository* stateRep);
63 
64  DtCLONE_DECODER( DtEntityStateDecoder );
65 
67 
68  virtual void setDecodeDiGuyAttributes(bool enableDecode);
69  virtual bool isDecodeDiGuyAttributes() const;
71 
73 
74  virtual void setDecodeNetnAttributes(bool enableDecode);
75  virtual bool isDecodeNetnAttributes() const;
77 
78 protected:
79 
83  virtual void decodeAttachedParts(
84  const DtEntityStatePdu& pdu,
85  DtEntityStateRepository* stateRep );
86 
87 
88 protected:
89 
90  bool myDecodeDiGuyAttributes;
91  bool myDecodeNetnAttributes;
92 
93 };
94 
95 #endif // DtDIS
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:41
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 Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)