VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
baseEmbeddedSystemEncoder.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 DtBaseEmbeddedSystemEncoder_H_
10 #define DtBaseEmbeddedSystemEncoder_H_
11 
12 
13 #include "hlaStateEncoder.h"
14 
18 
20 
23 #define DtDECLARE_BASE_EMBEDSYS_ATTR_CHECKER(attrName) \
24  DtDECLARE_ATTR_CHECKER(DtEmbeddedSystemRepository, attrName)
25 
28 #define DtDECLARE_BASE_EMBEDSYS_ATTR_ENCODER(attrName) \
29  DtDECLARE_ATTR_ENCODER(DtEmbeddedSystemRepository, attrName)
30 
31 
36 {
37 public:
38 
41  DtExerciseConn* exConn,
42  DtObjClassDesc* classDesc);
43 
45  virtual ~DtBaseEmbeddedSystemEncoder();
46 
49 
52 
53 public:
54 
56  static DtHlaStateEncoder* create(
57  DtExerciseConn* exConn,
58  DtObjClassDesc* classDesc);
59 
60 protected:
61 
62  DtDECLARE_BASE_EMBEDSYS_ATTR_CHECKER(RelativePosition);
67  DtDECLARE_BASE_EMBEDSYS_ATTR_CHECKER(EntityIdentifier);
68  DtDECLARE_BASE_EMBEDSYS_ATTR_CHECKER(HostObjectIdentifier);
69 
70  DtDECLARE_BASE_EMBEDSYS_ATTR_ENCODER(RelativePosition);
75  DtDECLARE_BASE_EMBEDSYS_ATTR_ENCODER(EntityIdentifier);
76  DtDECLARE_BASE_EMBEDSYS_ATTR_ENCODER(HostObjectIdentifier);
77 };
78 
79 
85 #define DtDEFINE_SIMPLE_BASE_EMBEDSYS_ATTR_ENCODER( \
86  attrName, netType, inspector) \
87  DtDEFINE_SIMPLE_ATTR_ENCODER(DtBaseEmbeddedSystemEncoder, \
88  DtEmbeddedSystemRepository, \
89  attrName, netType, inspector)
90 
96 #define DtDEFINE_SIMPLE_BASE_EMBEDSYS_ATTR_CHECKER( \
97  attrName, inspector) \
98  DtDEFINE_SIMPLE_ATTR_CHECKER(DtBaseEmbeddedSystemEncoder, \
99  DtEmbeddedSystemRepository, \
100  attrName, inspector)
101 
102 #endif //DtBaseEmbeddedSystemEncoder_H_
103 
104 #endif //DtHLA
105 

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)