VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
designatorDecoderHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #if DtHLA
8 
9 #ifndef DtDesignatorDecoder_H_
10 #define DtDesignatorDecoder_H_
11 
12 
14 
18 
20 
23 #define DtDECLARE_DESIGNATOR_ATTR_DECODER(attrName) \
24  DtDECLARE_ATTR_DECODER(DtDesignatorRepository, attrName)
25 
30 
32 {
33 public:
34 
37  DtExerciseConn* exConn,
38  DtObjClassDesc* classDesc);
39 
41  virtual ~DtDesignatorDecoder();
42 
45 
48 
49 public:
50 
52  static DtHlaStateDecoder* create(
53  DtExerciseConn* exConn,
54  DtObjClassDesc* classDesc);
55 
56 protected:
57 
61  void addMyDecoders();
62 
65  DtDECLARE_DESIGNATOR_ATTR_DECODER(DesignatorCode);
67  DtDECLARE_DESIGNATOR_ATTR_DECODER(DesignatorSpotLocation);
68  DtDECLARE_DESIGNATOR_ATTR_DECODER(RelativeSpotLocation);
69 
71  DtDECLARE_DESIGNATOR_ATTR_DECODER(DesignatedObject);
72  DtDECLARE_DESIGNATOR_ATTR_DECODER(DesignatorWavelength);
73  DtDECLARE_DESIGNATOR_ATTR_DECODER(DesignatorPower);
75  DtDECLARE_DESIGNATOR_ATTR_DECODER(SpotLinearAcceleration);
77  DtDECLARE_DESIGNATOR_ATTR_DECODER(DesignatedObjectIdentifier);
78  DtDECLARE_DESIGNATOR_ATTR_DECODER(DesignatorEmissionWavelength);
79  DtDECLARE_DESIGNATOR_ATTR_DECODER(DesignatorOutputPower);
80  DtDECLARE_DESIGNATOR_ATTR_DECODER(DeadReckoningAlgorithm);
81  DtDECLARE_DESIGNATOR_ATTR_DECODER(SpotLinearAccelerationVector);
82 };
83 
89 #define DtDEFINE_SIMPLE_DESIGNATOR_ATTR_DECODER_WITH_CAST( \
90  attrName, netType, mutator, castExpr) \
91  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
92  DtDesignatorDecoder, DtDesignatorRepository, \
93  attrName, netType, mutator, castExpr)
94 
95 #define DtDEFINE_SIMPLE_DESIGNATOR_ATTR_DECODER( \
96  attrName, netType, inspector) \
97  DtDEFINE_SIMPLE_DESIGNATOR_ATTR_DECODER_WITH_CAST( \
98  attrName, netType, inspector, (netType))
99 
100 #endif //DtDesignatorDecoder_H_
101 
102 #endif //DtHLA
103 
DtBaseEmbeddedSystemDecoder & operator=(const DtBaseEmbeddedSystemDecoder &orig)
assignment operator
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
#define DtDECLARE_DESIGNATOR_ATTR_DECODER(attrName)
This is used to declare attribute decoding functions which are members of the class.
Definition: designatorDecoderHLA.h:23
This file provides a declaration of the class DtBaseEmbeddedSystemDecoder.
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 DtDesignatorRepository:
Definition: designatorRepository.h:20
void addMyDecoders()
Add decoding functions for the attributes.
static DtHlaStateDecoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtBaseEntityDecoder. Caller is responsible for deletion.
class DtBaseEmbeddedSystemDecoder:
Definition: baseEmbeddedSystemDecoder.h:32
class DtDesignatorDecoder:
Definition: designatorDecoderHLA.h:31

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)