VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
emitterSystemDecoder.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 DtEmitterSystemDecoder_H_
10 #define DtEmitterSystemDecoder_H_
11 
12 
14 
18 
20 
23 #define DtDECLARE_EMITTERSYS_ATTR_DECODER(attrName) \
24  DtDECLARE_ATTR_DECODER(DtEmitterSystemRepository, attrName)
25 
30 
32 {
33 public:
34 
37  DtExerciseConn* exConn,
38  DtObjClassDesc* classDesc);
39 
41  virtual ~DtEmitterSystemDecoder();
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_EMITTERSYS_ATTR_DECODER(EmitterFunction);
67  DtDECLARE_EMITTERSYS_ATTR_DECODER(EmitterNumber);
70  DtDECLARE_EMITTERSYS_ATTR_DECODER(EmitterFunctionCode);
73  DtDECLARE_EMITTERSYS_ATTR_DECODER(EventIdentifier);
74 };
75 
81 #define DtDEFINE_SIMPLE_EMITTERSYS_ATTR_DECODER_WITH_CAST( \
82  attrName, netType, mutator, castExpr) \
83  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
84  DtEmitterSystemDecoder, DtEmitterSystemRepository, \
85  attrName, netType, mutator, castExpr)
86 
87 #define DtDEFINE_SIMPLE_EMITTERSYS_ATTR_DECODER( \
88  attrName, netType, mutator) \
89  DtDEFINE_SIMPLE_ATTR_DECODER_MUTATOR( \
90  DtEmitterSystemDecoder, DtEmitterSystemRepository, \
91  attrName, netType, mutator)
92 
93 #endif //DtEmitterSystemDecoder_H_
94 
95 #endif //DtHLA
96 
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
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
#define DtDECLARE_EMITTERSYS_ATTR_DECODER(attrName)
This is used to declare attribute decoding functions which are members of the class.
Definition: emitterSystemDecoder.h:23
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:34
Instances of DtEmitterSystemRepository are used to store state data for emitter systems in both HLA a...
Definition: emitterSystemRepository.h:29
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 DtEmitterSystemDecoder:
Definition: emitterSystemDecoder.h:31

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)