VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stateDecoderFactory.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
8 #ifndef DtStateDecoderFactory_H_
9 #define DtStateDecoderFactory_H_
10 
11 #if DtHLA
12 
13 #include "hlaStateDecoder.h"
14 #include <vlutil/vlMachineTypes.h>
15 #include <map>
16 
17 class DtFom;
18 
24 {
25 public:
26 
29 
32 
34  virtual ~DtStateDecoderFactory();
35 
36 private:
37 
40 
42  DtStateDecoderFactory& operator=(const DtStateDecoderFactory& orig);
43 
44 public:
45 
49  virtual DtHlaStateDecoder* createDecoder(RTI::ObjectClassHandle hand);
50 
56  virtual DtHlaStateDecoder* addDecoder(
57  RTI::ObjectClassHandle hand,
58  DtHlaStateDecoder* decoder);
59 
67  virtual void addAttributeDecoder(
68  RTI::ObjectClassHandle classHand,
69  RTI::AttributeHandle attrHand,
71  bool applyToSubclasses = true);
72 
74  void addAttributeDecoder(
75  char* className,
76  RTI::AttributeHandle attrHand,
78  bool applyToSubclasses = true);
79 
81  void addAttributeDecoder(
82  RTI::ObjectClassHandle classHand,
83  char* attrName,
85  bool applyToSubclasses = true);
86 
88  void addAttributeDecoder(
89  char* className,
90  char* attrName,
92  bool applyToSubclasses = true);
93 
103  virtual DtHlaStateDecoder* decoder(RTI::ObjectClassHandle hand,
104  bool copyBase = false);
105 
106 protected:
107 
108  typedef std::map<RTI::ObjectClassHandle, DtHlaStateDecoder*> ObjectClassHandleToStateDecoderMap;
110 
112 };
113 
114 #endif
115 #endif
116 

Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)