MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
matrexTspiPlatformObjEncoder.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/hlaStateEncoder.h>
17 
18 // Forward declaration of DtEntityStateRepository class.
20 
21 namespace M_TSPI_FM
22 {
23 
26 #define DtDECLARE_PlatformObjEncoder_ATTR_CHECKER(attrName) \
27  DtDECLARE_ATTR_CHECKER(DtEntityStateRepository, attrName)
28 
30 #define DtDECLARE_PlatformObjEncoder_ATTR_ENCODER(attrName) \
31  DtDECLARE_ATTR_ENCODER(DtEntityStateRepository, attrName)
32 
35 {
36 public:
37 
38  // Constructor
39  PlatformObjEncoder(DtExerciseConn* exConn, DtObjClassDesc* classDesc);
40 
41  // Destructor
42  virtual ~PlatformObjEncoder();
43 
44 protected:
45 
53 
61 
63  static time_t systemTime();
64 };
65 
71 #define DEFINE_SIMPLE_PlatformObjEncoder_ATTR_ENCODER( \
72  attrName, netType, inspector) \
73  DtDEFINE_SIMPLE_ATTR_ENCODER(PlatformObjEncoder, \
74  DtEntityStateRepository, \
75  attrName, netType, inspector)
76 
82 #define DEFINE_SIMPLE_PlatformObjEncoder_ATTR_CHECKER( \
83  attrName, inspector) \
84  DtDEFINE_SIMPLE_ATTR_CHECKER(PlatformObjEncoder, \
85  DtEntityStateRepository, \
86  attrName, inspector)
87 
88 }
89 #endif

Document ID: Generated on Tue Aug 1 09:00:26 EDT 2017 from SVN revision 179128
Copyright © 2017 VT MÄK. All Rights Reserved (www.mak.com)