VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rprFomMapper.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 MAK Technologies, Inc
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #if DtHLA
11 
12 // Note: This #ifndef/#define pair is used by simpleRprFomMapper.h
13 // Do NOT replace this #ifndef/#define pair with pragma once.
14 #ifndef rprFomMapper_H_
15 #define rprFomMapper_H_
16 
17 #include <vl/emptyFomMapper.h>
18 
23 #if DtSIMPLE_RPR
24 #define DtRprFomMapper DtSimpleRprFomMapper
25 #endif
26 
56 class DT_DLL_VL DtRprFomMapper : public DtEmptyFomMapper
57 {
58 public:
59 
63  DtRprFomMapper(double vers = 1.0, int rev = 1);
64 
66  virtual ~DtRprFomMapper();
67 
70  virtual void init(DtExerciseConn* conn);
71 
72 public:
73 
79  static DtFomMapper* create(void* usr);
80 
81 protected:
82 
84  DtRprFomMapper(const DtRprFomMapper& orig);
85 
87  DtRprFomMapper& operator=(const DtRprFomMapper& orig);
88 
90  virtual void initInterClasses();
91 
93  virtual void initObjClasses();
94 
96  virtual void initObjChoosers();
97 
99  virtual void initInterChoosers();
100 
101 public:
102 
104  static char* dfltEntityClassChooser(
105  const char* vrlinkClassName,
106  DtExerciseConn* exConn,
107  void* usr);
108 
110  static char* entityClassChooser08(
111  const char* vrlinkClassName,
112  DtExerciseConn* exConn,
113  void* usr);
114 
116  static char* entityClassChooserPre08(
117  const char* vrlinkClassName,
118  DtExerciseConn* exConn,
119  void* usr);
120 
122  static char* dfltEmitterBeamClassChooser(
123  const char* vrlinkClassName,
124  DtExerciseConn* exConn,
125  void* usr);
126 
128  static char* emitterBeamClassChooserPre08(
129  const char* vrlinkClassName,
130  DtExerciseConn* exConn,
131  void* usr);
132 
134  static char* dfltSignalClassChooser(
135  DtExerciseConn* exConn, const DtInteraction& inter);
136 
138  virtual void checkForRpr3MakIffExtensions(DtExerciseConn* exConn);
139 
142  virtual void setUseRpr3MakIffExtensions(bool useExtensions);
143 
145  virtual bool useRpr3MakIffExtensions();
146 
148  static char* dfltIffClassChooser(
149  const char* vrlinkClassName,
150  DtExerciseConn* exConn,
151  void* usr);
152 
154  static char* dfltIff3ClassChooser(
155  const char* vrlinkClassName,
156  DtExerciseConn* exConn,
157  void* usr);
158 
160  static char* dfltPointObjClassChooser(
161  const char* vrlinkClassName,
162  DtExerciseConn* exConn,
163  void* usr);
164 
166  static char* dfltArealObjClassChooser(
167  const char* vrlinkClassName,
168  DtExerciseConn* exConn,
169  void* usr);
170 
172  static char* dfltLinearObjClassChooser(
173  const char* vrlinkClassName,
174  DtExerciseConn* exConn,
175  void* usr);
176 
179  static char* dfltArealObjTransClassChooser(
180  DtExerciseConn* exConn, const DtInteraction& inter);
181 
184  static char* dfltLinearObjTransClassChooser(
185  DtExerciseConn* exConn, const DtInteraction& inter);
186 
189  static char* dfltPointObjTransClassChooser(
190  DtExerciseConn* exConn, const DtInteraction& inter);
191 
192 protected:
193  //bool myUseMakIffClasses;
194  bool myUseRpr3MakIffClasses;
195 };
196 
197 #endif // _rprFomMapper_H_
198 
199 #endif // DtHLA
DtInteraction is an base class for representing DIS PDUs which don&#39;t have state.
Definition: interactionDIS.h:24
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file declares DtEmptyFomMapper.

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)