VR-Link API Documentation for HLA Evolved
 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 VT MAK
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 

Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)