VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ribbonBridgeEncoder.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 ribbonBridgeEncoder_H_
10 #define ribbonBridgeEncoder_H_
11 
12 
13 #include "pointObjectEncoder.h"
14 
18 
20 
23 #define DtDECLARE_RIBBON_BRIDGE_ATTR_CHECKER(attrName) \
24  DtDECLARE_ATTR_CHECKER(DtPointObjectRepository, attrName)
25 
28 #define DtDECLARE_RIBBON_BRIDGE_ATTR_ENCODER(attrName) \
29  DtDECLARE_ATTR_ENCODER(DtPointObjectRepository, attrName)
30 
35 
37 {
38 public:
39 
42  DtExerciseConn* exConn,
43  DtObjClassDesc* classDesc);
44 
46  virtual ~DtRibbonBridgeEncoder();
47 
50 
53 
54 public:
55 
57  static DtHlaStateEncoder* create(
58  DtExerciseConn* exConn,
59  DtObjClassDesc* classDesc);
60 
61 protected:
62 
63  DtDECLARE_RIBBON_BRIDGE_ATTR_CHECKER(NumberOfSegments);
64 
65  DtDECLARE_RIBBON_BRIDGE_ATTR_ENCODER(NumberOfSegments);
66 };
67 
73 #define DtDEFINE_SIMPLE_RIBBON_BRIDGE_ATTR_ENCODER( \
74  attrName, netType, inspector) \
75  DtDEFINE_SIMPLE_ATTR_ENCODER(DtRibbonBridgeEncoder, \
76  DtPointObjectRepository, \
77  attrName, netType, inspector)
78 
84 #define DtDEFINE_SIMPLE_RIBBON_BRIDGE_ATTR_CHECKER( \
85  attrName, inspector) \
86  DtDEFINE_SIMPLE_ATTR_CHECKER(DtRibbonBridgeEncoder, \
87  DtPointObjectRepository, \
88  attrName, inspector)
89 
90 #endif //hRibBridgeEnc_H_
91 
92 #endif //DtHLA
93 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:60
#define DtDECLARE_RIBBON_BRIDGE_ATTR_ENCODER(attrName)
This is used to declare attribute encoding functions which are members of the class.
Definition: ribbonBridgeEncoder.h:28
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
static DtHlaStateEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtBaseEntityEncoder. Caller is responsible for deletion.
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: objClassDesc13.h:41
This file provides protocol independence for point object encoder includes.
DtPointObjectEncoder & operator=(const DtPointObjectEncoder &orig)
assignment operator
Instances of DtPointObjectRepository are used to maintain state information needed by point environme...
Definition: pointObjectRepository.h:31
Instances of DtPointObjectEncoder are used to encode point object state messages from a state reposit...
Definition: pointObjectEncoderHLA.h:33
#define DtDECLARE_RIBBON_BRIDGE_ATTR_CHECKER(attrName)
This is used to declare static member functions for determining whether or not an attribute needs to ...
Definition: ribbonBridgeEncoder.h:23
class DtRibbonBridgeEncoder:
Definition: ribbonBridgeEncoder.h:36

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)