VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ribbonBridgeDecoder.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 ribbonBridgeDecoder_H_
10 #define ribbonBridgeDecoder_H_
11 
12 
13 #include "pointObjectDecoder.h"
14 
18 
20 
23 #define DtDECLARE_RIBBON_BRIDGE_ATTR_DECODER(attrName) \
24  DtDECLARE_ATTR_DECODER(DtPointObjectRepository, attrName)
25 
30 
32 {
33 public:
34 
37  DtExerciseConn* exConn,
38  DtObjClassDesc* classDesc);
39 
41  virtual ~DtRibbonBridgeDecoder();
42 
45 
47  DtRibbonBridgeDecoder& operator=
48  (const DtRibbonBridgeDecoder& orig);
49 
50 public:
51 
53  static DtHlaStateDecoder* create(
54  DtExerciseConn* exConn,
55  DtObjClassDesc* classDesc);
56 
57 protected:
60  DtDECLARE_RIBBON_BRIDGE_ATTR_DECODER(NumberOfSegments);
61 };
62 
68 #define DtDEFINE_SIMPLE_RIBBON_BRIDGE_ATTR_DECODER_WITH_CAST( \
69  attrName, netType, mutator, castExpr) \
70  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
71  DtRibbonBridgeDecoder, DtPointObjectRepository, \
72  attrName, netType, mutator, castExpr)
73 
74 #define DtDEFINE_SIMPLE_RIBBON_BRIDGE_ATTR_DECODER( \
75  attrName, netType, inspector) \
76  DtDEFINE_SIMPLE_RIBBON_BRIDGE_ATTR_DECODER_WITH_CAST( \
77  attrName, netType, inspector, (netType))
78 
79 #endif //hRibBridgeDec_H_
80 
81 #endif //DtHLA
82 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
static DtHlaStateDecoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtHlaStateEncoder. Caller is responsible for deletion.
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 decoder includes.
class DtRibbonBridgeDecoder:
Definition: ribbonBridgeDecoder.h:31
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:34
Instances of DtPointObjectRepository are used to maintain state information needed by point environme...
Definition: pointObjectRepository.h:31
Instances of DtPointObjectDecoder are used to decode point object state messages for a state reposito...
Definition: pointObjectDecoderHLA.h:26
#define DtDECLARE_RIBBON_BRIDGE_ATTR_DECODER(attrName)
This is used to declare attribute decoding functions which are members of the class.
Definition: ribbonBridgeDecoder.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)