VR-Link API Documentation for HLA 1516
 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 VT MAK
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 

Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)