VR-Link API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
baseEmbeddedSystemDecoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #if DtHLA
8 
9 #ifndef DtBaseEmbeddedSystemDecoder_H_
10 #define DtBaseEmbeddedSystemDecoder_H_
11 
12 
13 #include "hlaStateDecoder.h"
14 
18 
20 
23 #define DtDECLARE_EMBEDSYS_ATTR_DECODER(attrName) \
24  DtDECLARE_ATTR_DECODER(DtEmbeddedSystemRepository, attrName)
25 
33 {
34 public:
35 
38  DtExerciseConn* exConn,
39  DtObjClassDesc* classDesc);
40 
42  virtual ~DtBaseEmbeddedSystemDecoder();
43 
46 
49  (const DtBaseEmbeddedSystemDecoder& orig);
50 
51 public:
52 
54  static DtHlaStateDecoder* create(
55  DtExerciseConn* exConn,
56  DtObjClassDesc* classDesc);
57 
58 protected:
59 
63  void addMyDecoders();
64 
66  DtDECLARE_EMBEDSYS_ATTR_DECODER(RelativePosition);
67 
70  DtDECLARE_EMBEDSYS_ATTR_DECODER(HostObjectID);
72  DtDECLARE_EMBEDSYS_ATTR_DECODER(EntityIdentifier);
73  DtDECLARE_EMBEDSYS_ATTR_DECODER(HostObjectIdentifier);
74 };
75 
81 #define DtDEFINE_SIMPLE_BASE_EMBEDSYS_ATTR_DECODER_WITH_CAST( \
82  attrName, netType, mutator, castExpr) \
83  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
84  DtBaseEmbeddedSystemDecoder, DtEmbeddedSystemRepository, \
85  attrName, netType, mutator, castExpr)
86 
87 #define DtDEFINE_SIMPLE_BASE_EMBEDSYS_ATTR_DECODER( \
88  attrName, netType, inspector) \
89  DtDEFINE_SIMPLE_BASE_EMBEDSYS_ATTR_DECODER_WITH_CAST( \
90  attrName, netType, inspector, (netType))
91 
92 #endif //DtBaseEmbeddedSystemDecoder_H_
93 
94 #endif //DtHLA
95 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DtDECLARE_EMBEDSYS_ATTR_DECODER(attrName)
This is used to declare attribute decoding functions which are members of the class.
Definition: baseEmbeddedSystemDecoder.h:23
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtEmbeddedSystemRepository are used to store the state of embedded systems.
Definition: embeddedSystemRepository.h:21
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:34
class DtBaseEmbeddedSystemDecoder:
Definition: baseEmbeddedSystemDecoder.h:32
This file contains the declaration of DtHlaStateDecoder.

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)