VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stateEncoderFactory.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #ifndef DtStateEncoderFactory_H_
10 #define DtStateEncoderFactory_H_
11 
12 #if DtHLA
13 
14 #include "hlaStateEncoder.h"
15 #include <vlutil/vlMachineTypes.h>
16 #include <map>
17 
18 class DtFom;
19 
25 {
26 public:
27 
30 
33 
35  virtual ~DtStateEncoderFactory();
36 
37 private:
38 
41 
43  DtStateEncoderFactory& operator=(const DtStateEncoderFactory& orig);
44 
45 public:
46 
50  virtual DtHlaStateEncoder* createEncoder(RTI::ObjectClassHandle hand);
51 
57  virtual DtHlaStateEncoder* addEncoder(
58  RTI::ObjectClassHandle hand,
59  DtHlaStateEncoder* encoder);
60 
68  virtual void addAttributeEncoder(
69  RTI::ObjectClassHandle classHand,
70  RTI::AttributeHandle attrHand,
72  bool applyToSubclasses = true);
73 
75  virtual void addAttributeEncoder(
76  char* className,
77  RTI::AttributeHandle attrHand,
79  bool applyToSubclasses = true);
80 
82  virtual void addAttributeEncoder(
83  RTI::ObjectClassHandle classHand,
84  char* attrName,
86  bool applyToSubclasses = true);
87 
89  virtual void addAttributeEncoder(
90  char* className,
91  char* attrName,
93  bool applyToSubclasses = true);
94 
102  virtual void addAttributeChecker(
103  RTI::ObjectClassHandle classHand,
104  RTI::AttributeHandle attrHand,
106  bool applyToSubclasses = true);
107 
109  virtual void addAttributeChecker(
110  char* className,
111  RTI::AttributeHandle attrHand,
113  bool applyToSubclasses = true);
114 
116  virtual void addAttributeChecker(
117  RTI::ObjectClassHandle classHand,
118  char* attrName,
120  bool applyToSubclasses = true);
121 
123  virtual void addAttributeChecker(
124  char* className,
125  char* attrName,
127  bool applyToSubclasses = true);
128 
138  virtual DtHlaStateEncoder* encoder(RTI::ObjectClassHandle hand,
139  bool copyBase = false);
140 
141 protected:
142 
143  typedef std::map<RTI::ObjectClassHandle, DtHlaStateEncoder*> ObjectClassHandleToEncoderMap;
145 
147 };
148 
149 #endif
150 #endif
151 

Document ID: Generated on Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)