VR-Link API Documentation for HLA 1.3
hEmitterSysDec.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #if DtHLA
8 
9 #ifndef DtEmitterSystemDecoder_H_
10 #define DtEmitterSystemDecoder_H_
11 
12 
13 #include "hBaseEmbedDec.h"
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, inspector) \
89  DtDEFINE_SIMPLE_EMITTERSYS_ATTR_DECODER_WITH_CAST( \
90  attrName, netType, inspector, (netType))
91 
92 #endif //DtEmitterSystemDecoder_H_
93 
94 #endif //DtHLA
95 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)