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 MAK Technologies, Inc
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 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
Instances of DtBaseEmbeddedSystemEncoder are used to encode a base embedded system state repository i...
Definition: baseEmbeddedSystemEncoder.h:35
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file contains the declaration of DtHlaStateEncoder.
Instances of DtEmbeddedSystemRepository are used to store the state of embedded systems.
Definition: embeddedSystemRepository.h:21
DtHlaStateEncoder is used to provide encoding of a state repository into a state message in an HLA (a...
Definition: hlaStateEncoder.h:30
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc1516.h:41
#define DtDECLARE_BASE_EMBEDSYS_ATTR_ENCODER(attrName)
This is used to declare attribute encoding functions which are members of the class.
Definition: baseEmbeddedSystemEncoder.h:28
DtHlaStateEncoder & operator=(const DtHlaStateEncoder &orig)
assignment operator
#define DtDECLARE_BASE_EMBEDSYS_ATTR_CHECKER(attrName)
This is used to declare static member functions for determining whether or not an attribute needs to ...
Definition: baseEmbeddedSystemEncoder.h:23

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)