MAK Data Logger API Documentation for DIS
matrexTspiPlatformObjDecoder.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2012 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
11 
12 #if DtHLA
13 
15 
16 #include <vl/hStateDecoder.h>
17 
18 // Forward declaration of DtEntityStateRepository class
19 class DT_DLL_MATREX_TSPI_FOM_MAP DtEntityStateRepository;
20 
21 namespace M_TSPI_FM
22 {
23 
26 
30 #define DtDECLARE_PlatformObjDecoder_ATTR_DECODER(attrName) \
31  DtDECLARE_ATTR_DECODER(DtEntityStateRepository, attrName)
32 
33 
35 class DT_DLL_MATREX_TSPI_FOM_MAP PlatformObjDecoder : public DtHlaStateDecoder
36 {
37 public:
38 
40  PlatformObjDecoder(DtExerciseConn* exConn, DtObjClassDesc* classDesc);
41 
43  virtual ~PlatformObjDecoder();
44 
45 protected:
46 
51 
52  DtDECLARE_PlatformObjDecoder_ATTR_DECODER(StateVector);
53  DtDECLARE_PlatformObjDecoder_ATTR_DECODER(DRAlgorithm);
55 };
56 
62 #define DEFINE_SIMPLE_PlatformObjDecoder_ATTR_DECODER_WITH_CAST( \
63  attrName, netType, mutator, castExpr) \
64  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
65  PlatformObjDecoder, DtEntityStateRepository, \
66  attrName, netType, mutator, castExpr)
67 
68 #define DEFINE_SIMPLE_PlatformObjDecoder_ATTR_DECODER( \
69  attrName, netType, inspector) \
70  DEFINE_SIMPLE_PlatformObjDecoder_ATTR_DECODER_WITH_CAST( \
71  attrName, netType, inspector, (netType))
72 
73 }
74 
75 #endif

Document ID: Generated on Sun Dec 15 18:04:30 EST 2013 from SVN revision 134418
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)