MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
directServerRtiAmbassador1516e.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA_1516_EVOLVED && !DtHLA_4
13 
17 
19 #include <vector>
20 
21 namespace MAKTrafficClientServerExConn
22 {
23  class DT_DLL_CSEC DtDirectServerRtiAmbassador : public DtServerRtiAmbassador
24  {
25 
26  public:
27 
30  DtDirectServerRtiAmbassador()
31  throw ();
32 
33  virtual ~DtDirectServerRtiAmbassador();
34 
35  private:
36 
38  DtDirectServerRtiAmbassador(const DtDirectServerRtiAmbassador &other);
39 
41  DtDirectServerRtiAmbassador& operator=(const DtDirectServerRtiAmbassador &other);
42 
43  public:
44 
48 
50  virtual ObjectInstanceHandle registerObjectInstance
51  (ObjectClassHandle theClass)
52  throw (
53  ObjectClassNotPublished,
54  ObjectClassNotDefined,
55  SaveInProgress,
56  RestoreInProgress,
57  FederateNotExecutionMember,
58  NotConnected,
59  RTIinternalError);
60 
61  virtual ObjectInstanceHandle registerObjectInstance
62  (ObjectClassHandle theClass,
63  std::wstring const & theObjectInstanceName)
64  throw (
65  ObjectInstanceNameInUse,
66  ObjectInstanceNameNotReserved,
67  ObjectClassNotPublished,
68  ObjectClassNotDefined,
69  SaveInProgress,
70  RestoreInProgress,
71  FederateNotExecutionMember,
72  NotConnected,
73  RTIinternalError);
74 
76  virtual void updateAttributeValues
77  (ObjectInstanceHandle theObject,
78  AttributeHandleValueMap const & theAttributeValues,
79  RTI::VariableLengthData const & aTag)
80  throw (
81  AttributeNotOwned,
82  AttributeNotDefined,
83  ObjectInstanceNotKnown,
84  SaveInProgress,
85  RestoreInProgress,
86  FederateNotExecutionMember,
87  NotConnected,
88  RTIinternalError);
89 
90  virtual MessageRetractionHandle updateAttributeValues
91  (ObjectInstanceHandle theObject,
92  AttributeHandleValueMap const & theAttributeValues,
93  RTI::VariableLengthData const & aTag,
94  LogicalTime const & theTime)
95  throw (
96  InvalidLogicalTime,
97  AttributeNotOwned,
98  AttributeNotDefined,
99  ObjectInstanceNotKnown,
100  SaveInProgress,
101  RestoreInProgress,
102  FederateNotExecutionMember,
103  NotConnected,
104  RTIinternalError);
105 
107  virtual void sendInteraction
108  (InteractionClassHandle theInteraction,
109  ParameterHandleValueMap const & theParameterValues,
110  RTI::VariableLengthData const & aTag)
111  throw (
112  InteractionClassNotPublished,
113  InteractionParameterNotDefined,
114  InteractionClassNotDefined,
115  SaveInProgress,
116  RestoreInProgress,
117  FederateNotExecutionMember,
118  NotConnected,
119  RTIinternalError);
120 
121  virtual MessageRetractionHandle sendInteraction
122  (InteractionClassHandle theInteraction,
123  ParameterHandleValueMap const & theParameterValues,
124  RTI::VariableLengthData const & aTag,
125  LogicalTime const & theTime)
126  throw (
127  InvalidLogicalTime,
128  InteractionClassNotPublished,
129  InteractionParameterNotDefined,
130  InteractionClassNotDefined,
131  SaveInProgress,
132  RestoreInProgress,
133  FederateNotExecutionMember,
134  NotConnected,
135  RTIinternalError);
136 
138  virtual void deleteObjectInstance
139  (ObjectInstanceHandle theObject,
140  RTI::VariableLengthData const & aTag)
141  throw (
142  DeletePrivilegeNotHeld,
143  ObjectInstanceNotKnown,
144  SaveInProgress,
145  RestoreInProgress,
146  FederateNotExecutionMember,
147  NotConnected,
148  RTIinternalError);
149 
150  virtual MessageRetractionHandle deleteObjectInstance
151  (ObjectInstanceHandle theObject,
152  RTI::VariableLengthData const & aTag,
153  LogicalTime const & theTime)
154  throw (
155  InvalidLogicalTime,
156  DeletePrivilegeNotHeld,
157  ObjectInstanceNotKnown,
158  SaveInProgress,
159  RestoreInProgress,
160  FederateNotExecutionMember,
161  NotConnected,
162  RTIinternalError);
163 
165  virtual void localDeleteObjectInstance
166  (ObjectInstanceHandle theObject)
167  throw (
168  OwnershipAcquisitionPending,
169  FederateOwnsAttributes,
170  ObjectInstanceNotKnown,
171  SaveInProgress,
172  RestoreInProgress,
173  FederateNotExecutionMember,
174  NotConnected,
175  RTIinternalError);
176 
180 
182  virtual ObjectInstanceHandle registerObjectInstanceWithRegions
183  (ObjectClassHandle theClass,
184  AttributeHandleSetRegionHandleSetPairVector const &
185  theAttributeHandleSetRegionHandleSetPairVector)
186  throw (
187  InvalidRegionContext,
188  RegionNotCreatedByThisFederate,
189  InvalidRegion,
190  AttributeNotPublished,
191  ObjectClassNotPublished,
192  AttributeNotDefined,
193  ObjectClassNotDefined,
194  SaveInProgress,
195  RestoreInProgress,
196  FederateNotExecutionMember,
197  NotConnected,
198  RTIinternalError);
199 
200  virtual ObjectInstanceHandle registerObjectInstanceWithRegions
201  (ObjectClassHandle theClass,
202  AttributeHandleSetRegionHandleSetPairVector const &
203  theAttributeHandleSetRegionHandleSetPairVector,
204  std::wstring const & theObjectInstanceName)
205  throw (
206  ObjectInstanceNameInUse,
207  ObjectInstanceNameNotReserved,
208  InvalidRegionContext,
209  RegionNotCreatedByThisFederate,
210  InvalidRegion,
211  AttributeNotPublished,
212  ObjectClassNotPublished,
213  AttributeNotDefined,
214  ObjectClassNotDefined,
215  SaveInProgress,
216  RestoreInProgress,
217  FederateNotExecutionMember,
218  NotConnected,
219  RTIinternalError);
220 
222  virtual void sendInteractionWithRegions
223  (InteractionClassHandle theInteraction,
224  ParameterHandleValueMap const & theParameterValues,
225  RegionHandleSet const & theRegionHandleSet,
226  RTI::VariableLengthData const & aTag)
227  throw (
228  InvalidRegionContext,
229  RegionNotCreatedByThisFederate,
230  InvalidRegion,
231  InteractionClassNotPublished,
232  InteractionParameterNotDefined,
233  InteractionClassNotDefined,
234  SaveInProgress,
235  RestoreInProgress,
236  FederateNotExecutionMember,
237  NotConnected,
238  RTIinternalError);
239 
240  virtual MessageRetractionHandle sendInteractionWithRegions
241  (InteractionClassHandle theInteraction,
242  ParameterHandleValueMap const & theParameterValues,
243  RegionHandleSet const & theRegionHandleSet,
244  RTI::VariableLengthData const & aTag,
245  LogicalTime const & theTime)
246  throw (
247  InvalidLogicalTime,
248  InvalidRegionContext,
249  RegionNotCreatedByThisFederate,
250  InvalidRegion,
251  InteractionClassNotPublished,
252  InteractionParameterNotDefined,
253  InteractionClassNotDefined,
254  SaveInProgress,
255  RestoreInProgress,
256  FederateNotExecutionMember,
257  NotConnected,
258  RTIinternalError);
259 
260  public:
261 
263  static DtVrlRtiAmbassador* create(const std::vector<std::wstring>&);
264 
265  };
266 }
267 
268 #endif
#define DT_DLL_CSEC
Definition: clientServerExConnDllDefines.h:17
This connection RTI Ambassador overrides RTI Ambassador calls where necessary; otherwise, just makes call on RTI Ambassador given to it.

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)